[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.
ik
idokan at gmail.com
Mon Apr 6 10:29:22 CEST 2009
http://ik.homelinux.org/
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..
>> for
>> 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.
>
>
>
> Jonas
> _______________________________________________
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
Thanks,
Ido
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20090406/12bea7f9/attachment.html>
More information about the fpc-pascal
mailing list