[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.
idokan at gmail.com
Mon Apr 6 10:29:22 CEST 2009
On Mon, Apr 6, 2009 at 11:25 AM, Jonas Maebe <jonas.maebe at elis.ugent.be>wrote:
> 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..
>> arm) ?
> make CPU_TARGET=arm OS_TARGET=linux all
Now I understand, at first when I did it like that I saw x86_64, now I
reread the output better.
> See http://www.stack.nl/~marcov/buildfaq.pdf<http://www.stack.nl/%7Emarcov/buildfaq.pdf>for more information.
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal