[fpc-devel] arm embedded on 2.6.0rc1
Jeppe Græsdal Johansen
jjohan07 at student.aau.dk
Tue Dec 20 22:20:07 CET 2011
Den 20-12-2011 21:51, Geoffrey Barton skrev:
> I have been trying to cross-compile arm embedded for a cortexm3 using 2.6.0rc1. I had this working previously with 2.4.0 and stellaris controllers.
> Following the instructions on the wiki page 'TARGET_Embedded' and adding suitable devices into cpuinfo etc. where they have been missed out, I can build a test program. However disassembling the resulting elf file shows the sections system_fpc_cpuuint, system_sysinitfpu, fpc_initializeunits, fpc_initializeunitsetc, system_internalexit, fpc_do_exit, system_system_exit and init$_system to be 32 bit arm code not thumb2. The rest of the program, including the stellaris.pp code, are correct thumb2 code.
> It appears the armv7m subarch is not being acted on when compiling rtl? I got the same result if I substituted cortexm3 for this too.
> fpc-devel maillist - fpc-devel at lists.freepascal.org
Do you have an example of how you can see it is 32 bit arm code and not
More information about the fpc-devel