Hi,
I just had some time to look into this again.
I downloaded the latest 2.6.0 sources and mostly followed
http://wiki.freepascal.org/TARGET_Embedded to make a crosscompiler. In
/usr/lib/fpc/2.6.0 there is a ppcrossarm with a date of today when I run
ppcrossarm -i.
But when I try
fpc -Parm -Tembedded -Wplpc2124 -Cparmv7m
I get an error :
Error: ppcarm can't be executed, error message: Failed to execute
"ppcarm", error code: 127
Is this expexted ? If yes, then the wiki should be updated.
If it matters, I'm using OpesSuse 12.1.
Another thing that puzzles me : the wiki says to use SUBARCH=armv7m for
cortex-m3. ppcrossarm -i says there are cpu instruction sets for
ARMV3
ARMV4
ARMV5
ARMV6
ARMV7
ARMV7M
CORTEXM3
Should I use SUBARCH=cortexm3 to compile the compiler to use it with
STM32-processors, which are cortex-m3 ? Or should I just compile the
applications with -Cpcortexm3 ?
Thanks for any info.
Regards,
Koenraad Lelong.
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal