[fpc-pascal] Error compiling fpc for ARM embedded

Jonas Maebe jonas.maebe at elis.ugent.be
Fri Jul 3 11:22:51 CEST 2015


Juan Duran wrote on Fri, 03 Jul 2015:

> Hi ALL,
>
> today I updated fpc trunk to 31185.
>
> I am not able to compile ppcrossarm on this revision. It always worked with:
>
> make -j2 clean buildbase installbase CROSSINSTALL=1  
> CROSSOPT="-XParm-none-eabi-"
> OS_TARGET=embedded CPU_TARGET=arm SUBARCH=armv7m INSTALL_PREFIX=~/lab

The problem is that you are using "make -j2" in combination with  
multiple make targets. That will execute the "clean", "buildbase" and  
"installbase" in parallel, so the clean may erase files that buildbase  
just built.

If you want to use parallel compilation, you have to call "make"  
separately for each make target.


Jonas



More information about the fpc-pascal mailing list