[fpc-devel] is cross compilation broken?

Andrew Haines AndrewD207 at aol.com
Fri Dec 17 18:48:46 CET 2010


Hi,

Is cross compilation broken?

If I execute this command:

make crossinstall CPU_TARGET=arm OS_TARGET=linux
CROSSBINDIR=/home/user/lazarus/fpc/binutils/ OPT=-dFPC_ARMEL
INSTALL_PREFIX=/usr

(which I know would fail about the paths not being right)

the result is:

make install CROSSINSTALL=1
make[1]: Entering directory `/home/andrew/programming/fpc'
make compiler_cycle RELEASE=1
make[2]: Entering directory `/home/andrew/programming/fpc'
make -C compiler cycle
make[3]: Entering directory `/home/andrew/programming/fpc/compiler'
Makefile:3582: *** recipe commences before first target.  Stop.
make[3]: Leaving directory `/home/andrew/programming/fpc/compiler'
make[2]: *** [compiler_cycle] Error 2
make[2]: Leaving directory `/home/andrew/programming/fpc'
make[1]: *** [build-stamp.arm-linux] Error 2
make[1]: Leaving directory `/home/andrew/programming/fpc'
make: *** [crossinstall] Error 2

I had the same result trying to crosscompile to ppc386 from ppcx64.

Regards,

Andrew Haines





More information about the fpc-devel mailing list