[fpc-devel] creating the embedded port of fpc

Michael Ring mail at michael-ring.org
Sun Oct 12 22:53:26 CEST 2014


Unfortunately (as far as I know) you cannot do that. You need to have 
two versions of ppcrossarm in separate directories with separate rtl.

I have the same problem with armv7m and armv6m, was never able to solve 
it in a different way.

Please keep me posted on your success with stm32f4 ... I would like to 
know if anything is missing/with need for improvement in the device's 
unit.....

Michael

Am 12.10.14 um 22:30 schrieb Sietse Achterop:
> On 10/12/2014 08:06 PM, Michael Ring wrote:
>>
>
>  Thanks Michael!
>
> The following (now using armv4) works!
>
>    make clean buildbase installbase CROSSINSTALL=1 OS_TARGET=embedded 
> CPU_TARGET=arm SUBARCH=armv4 BINUTILSPREFIX=arm-none-eabi-
>
>    ppcrossarm -Ch1024 -Cs1024 -Tembedded -Parm -Cparmv4 
> -XParm-none-eabi- -Wplpc2124  -vu tled1.pp
>
> A final question.
> Can I generate a fpc that has both SUBARCH's armv4 and armv7m?
> Of should I create to different fpc's for that?
>
>    Thanks again, now I can start building a more complete lpc1768 and 
> start on a stm32f4.
>
>        Sietse
>
>
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel




More information about the fpc-devel mailing list