Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2013-04

Compile error for arm-embedded armv6m subtarget

2 messages · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Michael Ring

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

Reply by email

Michael Ring
to Michael Ring

Sorry, please ignore thismail, this is my fault, I have an error in the cortexm0_start.inc code, sorry!

Michael Ring wrote 38 lines
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 _______________________________________________ fpc-devel maillist - http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply by email