[fpc-pascal] How to build 2.2.2-crosscompiler for arm-linux ?

Koenraad Lelong koen1 at brouwerij.homelinux.net
Sun Nov 30 13:33:23 CET 2008

Joost van der Sluis schreef:
> Op zaterdag 29-11-2008 om 19:48 uur [tijdzone +0100], schreef Koenraad
> Lelong:
>> Hello,
>> In the past I built numerous fpc-crosscompilers for arm-linux but now I
>> can't anymore.
>> What I did :
>> Downloaded and extracted fpcbuild-2.2.2.tar.gz
>> make CPU_TARGET=arm OS_TARGET=linux NOGDB=1 NODOCS=1 crosszipinstall
>> This complains that ppcrossarm is not found !
>> If I do the same with 2.2.0 I do get my crosscompiler.
> I would guess that 'crosszipinstall' creates the installation into
> zip-files. For that the compiler already has to be compiled. Try a
> 'clean all' instead of 'crosszipinstall'. And it could be that you have
> to specify the start-compiler with 'PP=ppcx386'
> Joost
PP=ppc386 did the trick.
B.T.W. is there documentation about crosscompiling ?

Koenraad Lelong.

More information about the fpc-pascal mailing list