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
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to