[fpc-devel] Option -Wp does not work with new embedded target

Sietse Achterop s.achterop at rug.nl
Sat Nov 29 20:38:12 CET 2014


   Hello,
I'm trying to create a version of fpc that generates code for the stm32f4xx arm processor from STM.
If done everything mentioned on
     http://wiki.freepascal.org/TARGET_Embedded
I have called t
and now have a first version of an RTL for that target, created the compiler and tried a first program doing
    ppcrossarm -Ch1024 -Cs1024 -Tembedded -Parm -Cparmv7m -XParm-none-eabi- -Wpstm32f4xx prog.p
But the error is:
    Error: Illegal parameter: -Wpstm32f4xx

I assumed that the new target would be known after changing  compiler/arm/cpuinfo.pas,
but it obviously didn't.

Is there something else to be done apart from that on the website?


   Thanks in advance,
        Sietse




More information about the fpc-devel mailing list