<div dir="ltr"><br clear="all"><a href="http://ik.homelinux.org/">http://ik.homelinux.org/</a><br>
<br><br><div class="gmail_quote">On Mon, Apr 6, 2009 at 11:25 AM, Jonas Maebe <span dir="ltr"><<a href="mailto:jonas.maebe@elis.ugent.be">jonas.maebe@elis.ugent.be</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im"><br>
On 06 Apr 2009, at 10:16, ik wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Followed the instructions. Now if I try to do the following:<br>
make MAKEFILETARGETS=arm-linux all<br>
<br>
It still gives me the following error:<br>
Makefile:197: *** The Makefile doesn't support target x86_64-linux, please<br>
run fpcmake first.  Stop.<br>
<br>
Without MAKEFILETARGETS it does works.<br>
</blockquote>
<br></div>
That's probably because this MAKEFILETARGETS tells the makefile to regenerate all makefiles only for arm-linux.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
So how can I cross compile fpc to arm in Linux (I have the linker etc.. for<br>
arm) ?<br>
</blockquote>
<br></div>
make CPU_TARGET=arm OS_TARGET=linux all</blockquote><div><br><br>Now I understand, at first when I did it like that I saw x86_64, now I reread the output better.<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
See <a href="http://www.stack.nl/%7Emarcov/buildfaq.pdf" target="_blank">http://www.stack.nl/~marcov/buildfaq.pdf</a> for more information.<div><div></div><div class="h5"><br>
<br>
<br>
Jonas<br>
_______________________________________________<br>
fpc-pascal maillist  -  <a href="mailto:fpc-pascal@lists.freepascal.org" target="_blank">fpc-pascal@lists.freepascal.org</a><br>
<a href="http://lists.freepascal.org/mailman/listinfo/fpc-pascal" target="_blank">http://lists.freepascal.org/mailman/listinfo/fpc-pascal</a><br>
</div></div></blockquote></div><br><br>Thanks,<br><br>Ido<br></div>