[fpc-devel] Cross-compile compiler itself

Joost van der Sluis joost at cnoc.nl
Thu Aug 8 12:51:18 CEST 2013


Hi all,

How can I cross-compile the compiler itself? I tried it by:

make clean all CPU_TARGET=arm

Then:
make all CPU_TARGET=arm PP=ppcrossarm

But that one failes, because the first step it does is compiling the rtl 
for the host platform (x86_64). Which fails when ppcrossarm is used for 
that...

There has to be a way, but how?

Joost.



More information about the fpc-devel mailing list