[v3] update libtool_VERSION

Andreas Schwab schwab@suse.de
Tue Mar 18 22:09:00 GMT 2008


Benjamin Kosnik <bkoz@redhat.com> writes:

>> See (libtool)Libtool versioning.  You are changeing the interface, so
>> CURRENT should be incremented.

The correct reference is (libtool)Updating version info.

> Well, just adding interfaces (what is going on here) means increment
> age according to your link, which is what this patch did.

The patch increments the revision, not the age.  The referenced node
says:

  3. If the library source code has changed at all since the last
     update, then increment REVISION (`C:R:A' becomes `C:r+1:A').

This is what you have done.  But there are more steps:

  4. If any interfaces have been added, removed, or changed since the
     last update, increment CURRENT, and set REVISION to 0.

  5. If any interfaces have been added since the last public release,
     then increment AGE.

Both of them apply here too.  The steps should be applied in that order
as long as the conditions apply.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



More information about the Gcc-patches mailing list