This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Multiple versions of C++
- To: Claus Fischer <cfischer at td2cad dot intel dot com>
- Subject: Re: Multiple versions of C++
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 31 Oct 2000 01:42:14 -0200
- Cc: gcc at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <20001030143541.A12905@tcadi02.sc.intel.com>
On Oct 30, 2000, Claus Fischer <cfischer@td2cad.intel.com> wrote:
> We can't have multiple C++ libraries in
> an application, can we?
Nope.
> Do we have to build C and C++ library from scratch and
> distribute them?
You have to use the same version of libstdc++ used by the proprietary
library you're linking with, and the same version of GCC that was used
to create it.
> What do we do if we have two vendors like ACIS
> with incompatible libstdc++ versions?
You'd have to ask them to provide you with libraries compatible with
the compiler and c++ library you're willing to use.
This will hopefully improve with GCC 3.0, that will use a standard C++
ABI and a standard-compliant implementation of the C++ library.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me