[fpc-pascal] Building FPC on LFS system

Marco van de Voort marcov at stack.nl
Sun Jan 30 14:37:47 CET 2011


In our previous episode, Geoffray Levasseur said:
> 
> My problem is simple. As far as I know there's no way to build FPC without 
> FPC. So can anybody can tell me how to bootstrap FPC to build it on a LFS 
> system without FPC installed?

Crosscompile. Either by entirely linking on host, or to assembler and
assembling/linking on target.  Note that the core FPC binaries are static by
default, which eases this a bit.
 
> I suppose I'll have to download a precompiled version for my system (x86_64) 
> but I want do do this in a clean way.
> 
> Another question: is there any usefull optimization flags (just like CFLAGS)?

See -O and friends in fpc -h



More information about the fpc-pascal mailing list