This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Multiple versions of C++


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]