<div dir="ltr">Thanks Jonas,<br><br>I'll try it this evening and see if it works.<br><br>Ido<br> <br clear="all"><a href="http://ik.homelinux.org/">http://ik.homelinux.org/</a><br>
<br><br><div class="gmail_quote">On Tue, Dec 1, 2009 at 12:09 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 30 Nov 2009, at 22:22, ik wrote:<br>
<br>
> It uses ARM EABI version. My latest attempt provides me the following<br>
> executable:<br>
> ELF 32-bit LSB executable, ARM, version 1, statically linked, not stripped<br>
><br>
> While on "regular" Linux the same file identifier is:<br>
> hello: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically<br>
> linked, for GNU/Linux 2.4.0, stripped<br>
><br>
> A normal executable in OM is:<br>
> ELF 32-bit LSB executable, ARM, version 1 (SYSV), for GNU/Linux 2.6.24,<br>
> dynamically linked (uses shared libs), stripped<br>
><br>
> So how can I look for the proper build of ppcrossarm and normal ppcarm ?<br>
<br>
</div>Static or dynamic is unlikely to be related to your problems with illegal instructions. The backtrace you previously posted (with the illegal opcode in sysinitfpu suggests that you are not compiling an EABI compiler, because that one defaults to softfloat. There's another thing I just noticed in your previous mail:<br>
<br>
> make OPT='dFPC_ARMEL -dFPC_ABI_EABI -Xd' OS=TARGET=linux CPU_TARGET=arm<br>
<br>
That first parameter is missing a dash (-), it should read -dFPC_ARMEL. Without that dash, you will not get an EABI compiler.<br>
<br>
You should also not define -dFPC_ABI_EABI yourself. The compiler will define that symbol when the current target is EABI. Defining that symbol while you are not compiling for an EABI platform will only result in an RTL with invalid code.<br>
<font color="#888888"><br>
<br>
Jonas_______________________________________________<br>
</font><div><div></div><div class="h5">fpc-devel maillist - <a href="mailto:fpc-devel@lists.freepascal.org">fpc-devel@lists.freepascal.org</a><br>
<a href="http://lists.freepascal.org/mailman/listinfo/fpc-devel" target="_blank">http://lists.freepascal.org/mailman/listinfo/fpc-devel</a><br>
</div></div></blockquote></div><br></div>