[fpc-devel] Cross-compile compiler itself
Joost van der Sluis
joost at cnoc.nl
Thu Aug 8 14:36:05 CEST 2013
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
>> 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...
More information about the fpc-devel