[fpc-devel] Compile error for arm-embedded armv6m subtarget
Michael Ring
mail at michael-ring.org
Sat Apr 20 22:12:16 CEST 2013
I have created some units for nxp cortex-m0 cpu's and have integrated
them into the arm-embedded rtl
but they fail to assemble, seems that the generated assembler code is
not cortex-m0 compatible !!??!!:
make clean buildbase CROSSINSTALL=1 OS_TARGET=embedded CPU_TARGET=arm
SUBARCH=armv6m CROSSOPT="-godwarfsets -gw2 -O-"
BINUTILSPREFIX=arm-none-eabi-
..
..
..
/Users/ring/devel/fpc/compiler/ppcrossarm -Cparmv6m @rtl.cfg -Ur
-Tembedded -Parm -XParm-none-eabi- -Xr -Ur -Xs -O2 -n -Fi../inc
-Fi../arm -FE. -FU/Users/ring/devel/fpc/rtl/units/arm-embedded -darm
-dRELEASE -godwarfsets -gw2 -O- arm/lpc8xx.pp
/Users/ring/devel/fpc/rtl/units/arm-embedded/lpc8xx.s: Assembler messages:
/Users/ring/devel/fpc/rtl/units/arm-embedded/lpc8xx.s:52: Error:
selected processor does not support Thumb mode `ittt ls'
/Users/ring/devel/fpc/rtl/units/arm-embedded/lpc8xx.s:54: Error: Thumb
does not support conditional execution
/Users/ring/devel/fpc/rtl/units/arm-embedded/lpc8xx.s:56: Error: Thumb
does not support conditional execution
/Users/ring/devel/fpc/rtl/units/arm-embedded/lpc8xx.s:69: Error:
selected processor does not support Thumb mode `itt ls'
/Users/ring/devel/fpc/rtl/units/arm-embedded/lpc8xx.s:71: Error: Thumb
does not support conditional execution
Can anybody help?
Thank you,
Michael
More information about the fpc-devel
mailing list