[fpc-pascal] Trying to cross compile to arm-linux and have the following error message: Makefile:186: *** The Makefile doesn't support target x86_64-linux, please run fpcmake first. Stop.

Jonas Maebe jonas.maebe at elis.ugent.be
Mon Apr 6 10:25:44 CEST 2009


On 06 Apr 2009, at 10:16, ik wrote:

> Followed the instructions. Now if I try to do the following:
> make MAKEFILETARGETS=arm-linux all
>
> It still gives me the following error:
> Makefile:197: *** The Makefile doesn't support target x86_64-linux,  
> please
> run fpcmake first.  Stop.
>
> Without MAKEFILETARGETS it does works.

That's probably because this MAKEFILETARGETS tells the makefile to  
regenerate all makefiles only for arm-linux.

> So how can I cross compile fpc to arm in Linux (I have the linker  
> etc.. for
> arm) ?

make CPU_TARGET=arm OS_TARGET=linux all

See http://www.stack.nl/~marcov/buildfaq.pdf for more information.


Jonas



More information about the fpc-pascal mailing list