[fpc-pascal] Cross compiler for Raspberry Pi
Martin Schreiber
mse00000 at gmail.com
Wed Nov 26 10:03:37 CET 2014
Hi,
I try to build a fixes_2_6 cross compiler i386-linux -> arm-linux-eabihf.
"
make crossinstall CPU_TARGET=arm OS_TARGET=linux CROSSBINDIR=$CROSSBINDIR
OPT=-dFPC_ARMHF CROSSOPT="-Xd -CpARMV6 -CfVFPV2" INSTALL_PREFIX=$INSTALLDIR
"
fails in compiling system.pp:
"
[...]
/usr/local/arm-linux-gnueabihf/bin/as -o /home/mse/packs/standard/svn/fp/arm/fixes_2_6_build/rtl/units/arm-linux/ucprt0.o
arm/ucprt0.as
/home/mse/packs/standard/svn/fp/arm/fixes_2_6_build/compiler/ppcrossarm -Ur -Parm -XX -CX -Ur -Xs -O2 -n -Fi../inc -Fi../arm -Fi../unix -Fiarm -FD/usr/local/arm-linux-gnueabihf/bin -FE. -FU/home/mse/packs/standard/svn/fp/arm/fixes_2_6_build/rtl/units/arm-linux -dFPC_ARMHF -darm -dRELEASE -CpARMV6 -CfVFPV2 -Us -Sg
system.pp
thread.inc(414,10) Warning: Function result does not seem to be set
/home/mse/packs/standard/svn/fp/arm/fixes_2_6_build/rtl/units/arm-linux/system.s:
Assembler messages:
/home/mse/packs/standard/svn/fp/arm/fixes_2_6_build/rtl/units/arm-linux/system.s:14141:
Error: selected processor does not support ARM mode `fmrx r0,fpscr'
/home/mse/packs/standard/svn/fp/arm/fixes_2_6_build/rtl/units/arm-linux/system.s:14147:
Error: selected processor does not support ARM mode `fmxr fpscr,r0'
/home/mse/packs/standard/svn/fp/arm/fixes_2_6_build/rtl/units/arm-linux/system.s:19222:
Error: selected processor does not support ARM mode `fmdrr d0,r0,r1'
[...]
"
What are the correct options?
BTW, I missed a list of the possible make targets, are they documented
somewhere?
Thanks, Martin
More information about the fpc-pascal
mailing list