This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: supporting multiple versions of GCC with a single shared object release?
- From: Ian Lance Taylor <iant at google dot com>
- To: mario guerra <emailformario at yahoo dot com>
- Cc: mario guerra <emailformario at gmail dot com>, gcc-help at gcc dot gnu dot org
- Date: Wed, 15 Apr 2009 10:40:39 -0700
- Subject: Re: supporting multiple versions of GCC with a single shared object release?
- References: <340697.63416.qm@web34805.mail.mud.yahoo.com>
mario guerra <emailformario@yahoo.com> writes:
> --- On Tue, 4/14/09, Ian Lance Taylor <iant@google.com> wrote:
>> The C++ compiler/library is supposed to have a stable ABI
>> as of gcc 4.0
>> and later. For earlier versions, you pretty much do
>> have to do a build
>> for each version.
>
> If we built our simulator with 4.x, wouldn't that potentially break
> some of our third party vendors who are still using some variant of
> 3.x? The 4.x library isn't backwards compatible, is it?
No, the 4.x library is not reliably backward compatible. Actually it
may be backward compatible to 3.4, but not before that. For earlier
versions you will still have to do a build for each version.
Ian