[Lazarus] Lazarus Digest, Vol 44, Issue 106

Henry Vermaak henry.vermaak at gmail.com
Tue Sep 27 13:28:51 CEST 2011


On 27/09/11 12:12, Henry Vermaak wrote:
> On 27/09/11 11:25, dominique at savagesoftwaresolutions.com wrote:
>> Hi Henry,
>> Thanks for answering.
>>
>> This is the ELF output running on the actual box...
>>
>> https://gist.github.com/1244760
>>
>> There are 2 ELF outputs. The top one is the FreePascal one, while the
>> bottom one is for mkdir.
>>
>> We did notice that native exes list their OS as UNIX, while our exe
>> lists it as ARM.
>
> You'll probably need to pass -meabi=5 to arm-linux-as when you build fpc
> and your programs. Easiest way is to write a program called
> arm-linux-as.exe that calls the real assembler (that you renamed) with
> an added -meabi=5.

Even better is to re-build the binutils with a target like 
arm-linux-eabi, which should set this by default.  Tip:  use a linux 
machine to build the binutils, it's much easier.

Henry




More information about the Lazarus mailing list