This is the mail archive of the 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]
Other format: [Raw text]

Re: 3.4 vs 3.0 compatibility

On Tue, Apr 19, 2005 at 02:23:26PM +0200, Peter FELECAN wrote:
> > > Currently the library has the same version in 3.4 and 4.0,
> > > i.e (SONAME =
> > > 
> > > Is this as expected?

Jakub Jelinek <> writes:
> > Yes.

> > > Are the 2 libraries compatible? Interchangeable? Looking in the map
> > > file, I don't think so.

> > There is backwards compatibility.  So you want the latest
> > from the compilers used to build your applications.

> I should understand that, as usual, there is no "backward"
> compatibility. My worry being the case when somebody, having installed
> 3.4 and 4.0, in this order, updates the previous compiler, 3.4, and
> unknowingly replaces the latest library. For this, I think that
> additional instrumentations are required by the corresponding
> packages. Consequently, it is the role of the packager to assure an
> hermetic separation.

No, I think you misunderstood Jakub.  If 4.0 is installed second, it will
update the, and all the apps compiled with either compiler
will continue to work.  You want to avoid the reverse situation, where 4.0
is installed first and then 3.4.

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