This is the mail archive of the
mailing list for the GCC project.
Re: Compatibility between gcc versions
- From: Joe Buck <Joe dot Buck at synopsys dot com>
- To: component0 at yahoo dot com (Send Here)
- Cc: gcc at gnu dot org
- Date: Fri, 30 Aug 2002 16:26:50 -0700 (PDT)
- Subject: Re: Compatibility between gcc versions
> Is there a single page on http://gcc.gnu.org that
> describes compatibility issues between versions of
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., 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.