[fpc-pascal] reading PPU files
Mattias Gaertner
nc-gaertnma at netcologne.de
Thu Jun 26 11:33:51 CEST 2008
On Wed, 25 Jun 2008 13:06:58 +0200 (CEST)
Michael Van Canneyt <michael at freepascal.org> wrote:
>
>
> On Wed, 25 Jun 2008, Peter Vreman wrote:
>
>[...]
> > The ppu unit from the compiler and ppudump has become too much
> > dependent on other units of the compiler that i don't think it is
> > recommended to be used by other projects. The current dependencies
> > are below:
> >
> > Compiling ppudump.pp
> > Compiling /home/peter/fpc/compiler/constexp.pas
> > Compiling /home/peter/fpc/compiler/ppu.pas
> > Compiling /home/peter/fpc/compiler/globtype.pas
> > Compiling /home/peter/fpc/compiler/systems.pas
> > Compiling /home/peter/fpc/compiler/cutils.pas
> > Compiling /home/peter/fpc/compiler/fpccrc.pas
> > Compiling /home/peter/fpc/compiler/cclasses.pas
> > Compiling /home/peter/fpc/compiler/cstreams.pas
> > Compiling /home/peter/fpc/compiler/i386/cpuinfo.pas
> > Compiling /home/peter/fpc/compiler/version.pas
> >
> > It might be better to write a clean PPU reader using streams. The
> > PPU format is stable and TLV based so multiple ppu-versions can be
> > supported. For the compiler and ppudump this is not a requirement,
> > but for lazarus it is needed especially if it wants to use type
> > information.
>
> I would also recommend this way, and think that if it is implemented,
> we make a FPC package from this.
Ok. Great.
Mattias
More information about the fpc-pascal
mailing list