On 08/08/2013 12:54 PM, Jonas Maebe wrote:

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).

Ohh.. so easy...

Thanks.

Joost.

_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to