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]
Other format: [Raw text]

Re: Compatibility between gcc versions


> Is there a single page on http://gcc.gnu.org that
> describes compatibility issues between versions of
> gcc? 

Generally, C language code is compatible across versions, while C++
language code has historically only been compatible with other compiler
versions that share the same first two numbers (e.g. 2.95.2 vs 2.95.3).

We've been attempting to change this by standardizing on a cross-vendor
C++ ABI for 3.2.  This has not yet been 100% successful, but 3.3 should be
ABI compatible with 3.2.

> Specifically, we use gcc2.9 and are wondering what's
> the latest gcc we can upgrade to without having
> compatibility problems with legacy modules that we
> link in.  Our platforms are Solaris 2.[678], HP
> 10.10/11, Red Hat Linux 7.2.

There was never a 2.9, did you mean 2.95?  If so, the answer is 2.95.3.
Red Hat's 2.96-RH is not binary compatible, and neither is 3.0.




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