abi compatibility

Bob Rossi bob_rossi@cox.net
Wed Dec 20 21:44:00 GMT 2006


On Wed, Dec 20, 2006 at 09:05:42AM -0800, Ian Lance Taylor wrote:
> Bob Rossi <bob_rossi@cox.net> writes:
> 
> > Does anyone know if gcc has documented it's abi compatibility between
> > minor releases? For example, is 4.1.1 and 4.1.2 guaranteed (besides
> > bugs) to have the same abi?
> 
> I don't know whether this is documented anywhere.
> 
> In general, the C language ABI never changes.  The C++ language ABI is
> controlled by the -fabi-version=N option.  The default version of the
> C++ language ABI never changes in a minor release (e.g., 4.1.2), but
> it may change in a major release (e.g., 4.1).
> 
> In some cases there will be an ABI change for obscure cases of a
> specific target.  These will be noted in the list of changes for the
> release in which they occur.  These changes are normally never made in
> a minor release.

Thanks, this is exactly what I wanted to know!

Bob Rossi



More information about the Gcc-help mailing list