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 _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal