Query...

Philip Blundell philb@gnu.org
Fri Apr 20 03:29:00 GMT 2001


>Can OBJ's, created by older ELF spec., be linked with GCC-linker which
>uses newer ELF spec.?

Yes.  But:

>-------/bin/ld : Error : strlen.o compiled for EABI version 0, whereas
>MN1.out is compiled for version 2.
>File format not recognized : failed to merge target specific data of file
>............./lin/libc.a (strlen.o)

The problem here seems to be that MN1.out (presumably the object you built 
with ADS) is using a *newer* version of the EABI than the linker understands.  
I didn't realise there even was a "version 2"; I don't think the GNU tools 
cope with version 1 properly yet.

p.




More information about the Gcc mailing list