cannot link [against] shared libraries

Rob Newberry robnewberry@grouplogic.com
Fri Jul 27 10:04:00 GMT 2001


> > You'll have to rebuild that library.  GCC 3.0 has adopted the new
> > multi-vendor C++ ABI, which required changes in the representation of
> > types and modifications in name mangling.
> 
> Does this mean i cannot use any libraries compiled with gcc < 3.0?
> Anything like openssl from any Linux distribution, for example?

I'm no GCC expert, but I understand this kind of problem from other
compilers and platforms.

The ABI issue should affect C++ libraries -- if the library exposes C++
objects (which XERCES does), then it will need to be rebuilt.

Libraries that expose only C routines -- such as OpenSSL -- should be OK.

Rob

---------------------------------------------------------------------
Rob Newberry
Director of Fajita Technology
Group Logic, Inc.




More information about the Gcc-help mailing list