Bo Berglund schrieb:
Or is it possible to load the FPC compiler project into Lazarus and build it from there???
Not really. There exist some Lazarus projects (pp*.lpi), but these exist primarily for debugging the compiler. You have to select the project for the desired target CPU, and to specify the desired target OS. Installing an new compiler requires more steps, i.e. compiler bootstrap and RTL rebuild.
In the compiler bootstrap the new compiler is compiled by the old compiler. Then the new compiler is recompiled repeatedly by itself, until the resulting executables are binary identical.
There exist two Makefiles, in the FPC and FPC/compiler folders. The global one bootstraps the compiler for the current architecture, then rebuilds the RTL (typical usage: make clean all). When everything is okay, "make install --INSTALL_PREFIX <where>" will install (copy) the new compiler and RTL into the given directory; from memory, please lookup the correct invocation. The compiler/Makefile builds cross compilers for all targets (typical usage: make fullcycle).
DoDi -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
