Linking to a static library compiled with a different version of gcc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



We have some libraries from a vendor compiled with arm-elf-gcc 2.95.3.

However we are using arm-elf-gcc 3.4.3 to compile our code and some third
party code (which won't compile with arm-elf-gcc 2.95.3). 

When we get to the link stage we get the following error:
ERROR: ../vendor_library.a(obj.o) uses hardware FP, whereas prog.elf2flt
uses software FP

Both compilers are using the same uClibc version (0.9.26). Is that just a
matter of compiling the cross-compiler (3.4.3) with the right options, is
that more complicated than than or it will simply not work to link a library
compiled with gcc 2.xx with a program compiled with gcc 3.yy?





-- 
View this message in context: http://www.nabble.com/Linking-to-a-static-library-compiled-with-a-different-version-of-gcc-tp15753143p15753143.html
Sent from the gcc - Help mailing list archive at Nabble.com.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux