Subject: Re: C++ shared library compatibility between GCC 3.3.6 and 4.1.2
To: David Laight <david@l8s.co.uk>
From: Christos Zoulas <christos@zoulas.com>
List: current-users
Date: 06/28/2006 18:19:04
On Jun 28, 10:29pm, david@l8s.co.uk (David Laight) wrote:
-- Subject: Re: C++ shared library compatibility between GCC 3.3.6 and 4.1.2

| On Wed, Jun 28, 2006 at 04:51:16PM +0000, Christos Zoulas wrote:
| > In article <20060628161933.GA12863@colwyn.zhadum.org.uk>,
| > Matthias Scheler  <tron@zhadum.org.uk> wrote:
| > >
| > >	Hello,
| > >
| > >in the after upgrading from GCC 2.7.2 to egcs, egcs to GCC 2.95.x and
| > >GCC 2.95.x to GCC 3.3.x it was necessary to recompile C++ shared libraries
| > >because old libraries were not compatible with new binaries.
| > >
| > >Are GCC 4.1.x binaries incompatible to GCC 3.3.x shared libraries in
| > >a similar way?
| > >
| > 
| > Yes, name mangling has been changed again.
| 
| Should we put the shared libraries into a different directory?
| So that it is possible to run programs built with either version of
| gcc on the same machine ?
| 
| 	David
| 
| (Still running a system compiled with gcc 2.95 to avoid having to
| recompile mozilla)

We should probably bump the version of the libraries? Are we sure that
there are name mangling issues between 3.3.x and 4.x? I know there are
between 2.95 and 3.x...

christos