This is the mail archive of the gcc-help@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: GCC version question


LLeweLLyn Reese <llewelly@lifesupport.shutdown.com> writes:

[snip]

> 2.95.x, 2.96 (unofficial release), 3.0.x, 3.1.x, 3.2.x are, for C++, 5
>      different incompatible compileers; If you build c++ libraries
>      with 2 different compileers in that list, they will not link.

IIRC, the changes on the C++ name mangling scheme for the successive
3.x releases are minor. This means that lots of C++ code will link
even when you mix object files produced by different
versions. However, the name mangling scheme is only one part of the
C++ ABI specification. It is a good thing to re-compile the entire C++
source base every time you upgrade to a version that modifies the C++
ABI, irrespectively of linking issues.

-- 
Oscar



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