This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

newbie question regarding linker error


Hi
i used crosstool to build gcc for PPC64 target on an intel machine. Now i am trying to compile an application using the crosscompiler. 
The error i get towards the end of the compilation is: 
Relocatoins in generic ELF (EM: 62)
../sdk/libs/gallinuxppc64.a: could not read symbols: File in wrong format
collect2: ld returned 1 exit status

Any ideas what causes this error. 

The app i am trying to compile uses 3 libraries all compiled with the same compiler and with the same options..specifically i added -m64 flag and -melf64ppc link flag too. 
Any help is appreciated. Please let me know if i need to provide more data as well.
Thanks, Nishita


      

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]