On 08 Aug 2013, at 12:51, Joost van der Sluis wrote:

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?

After the first command, there is already a cross-compiled compiler in the compiler subdirectory (called ppcarm).


Jonas
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to