public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Linking to a static library compiled with a different version of  gcc
@ 2008-02-29  7:12 Jean-Luc Aufranc
  0 siblings, 0 replies; only message in thread
From: Jean-Luc Aufranc @ 2008-02-29  7:12 UTC (permalink / raw)
  To: gcc-help


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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-02-29  6:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-29  7:12 Linking to a static library compiled with a different version of gcc Jean-Luc Aufranc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).