This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: cannot link [against] shared libraries
- To: RMichalski at era dot pl
- Subject: RE: cannot link [against] shared libraries
- From: Rob Newberry <robnewberry at grouplogic dot com>
- Date: Fri, 27 Jul 2001 13:03:23 -0400 (EDT)
- cc: Alexandre Oliva <aoliva at redhat dot com>, gcc-help at gcc dot gnu dot org
> > 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.