[fpc-pascal] fpc on Armel issues

Marco van de Voort marcov at stack.nl
Tue Aug 25 14:05:13 CEST 2009


In our previous episode, Nataraj S Narayan said:
> dynamically linked (uses shared libs), not stripped
> 
> while another non-fpc app shows:-
> 
> root at at91sam9263ek:~$ file formshow
> formshow: ELF 32-bit LSB executable, ARM, version 1 (SYSV), for
> GNU/Linux 2.6.14, dynamically linked (uses shared libs), not stripped
> 
> could it be that I am building on FreeBSD is a probelms?

Yes and no. Crosslinking sometimes doesn't add an ELF identifier. Linux
didn't use to need one, but apparantly this one does.

So best is to try to find out how to add a elf ident section under Linux.

Or try to "brandelf -T linux" the result under FreeBSD and hope for the best
:-)



More information about the fpc-pascal mailing list