This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC4 version compatibility?
On Wed, Apr 02, 2008 at 05:16:23PM -0700, Xiaoxiang Liu wrote:
> I have a question regarding GCC4 version compatibility? In general,
> should two versions with same major version number be compatible?
> Specifically, I want to confirm whether a C++ library built with gcc
> 4.1.X will link correctly using gcc 4.2.2?
For C++, you need the first two numbers to match. So, 4.1.x with 4.1.y
should work, 4.1.x with 4.2.y probably not.