[fpc-pascal] fpc 2.6.0-rc1 for arm-embedded

Koenraad Lelong fpascal at brouwerij.homelinux.net
Thu Dec 8 13:49:16 CET 2011


Hi,

I had some problems making or using a compiler for arm-embedded so I 
tried the new 2.6.0-rc1.
Compiling with :
make clean buildbase installbase CROSSINSTALL=1 CROSSOPT="-CfSoft 
-XParm-elf-" OS_TARGET=embedded CPU_TARGET=arm PREFIX=/usr/ SUBARCH=armv7m
went fine.
Compiling a test-app with
/usr/lib/fpc/2.6.0/ppcrossarm -B -al -Tembedded -Wpstm32f103re -Cfsoft 
-Cparmv7m -XParm-elf- test-1.pas
gave me following warnings :
/usr/bin/arm-elf-ld: Warning: 
/usr/lib/fpc/2.6.0/units/arm-embedded/rtl/system.o does not support 
interworking, whereas test-1.elf does
/usr/bin/arm-elf-ld: Warning: 
/usr/lib/fpc/2.6.0/units/arm-embedded/rtl/stm32f103.o does not support 
interworking, whereas test-1.elf does

I think Googling tells me my application will not run. Am I doing 
something wrong ?

Thanks for any hints.

Koenraad Lelong



More information about the fpc-pascal mailing list