This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [v3] use -release, correct library VERSION
- To: Benjamin Kosnik <bkoz at redhat dot com>
- Subject: Re: [v3] use -release, correct library VERSION
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 11 Aug 2001 17:11:24 -0300
- Cc: gcc-patches at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <200108082238.f78McYC30752@fillmore.constant.com>
On Aug 8, 2001, Benjamin Kosnik <bkoz@redhat.com> wrote:
> 2001-08-08 Benjamin Kosnik <bkoz@redhat.com>
> * src/Makefile.am (libstdc___la_LDFLAGS): Use -release instead of
> -version-info, use substituted VERSION info.
I strongly advise against this change. This will result in the SONAME
of libstdc++ changing for every single release of GCC, defeating the
whole purpose of library versioning, which is to keep the SONAME
unchanged for as long as binary-compatibility is retained.
Note that the libtool manual explicitly advises against trying to
match the -version-info numbers with anything resembling the version
number of the package being released, and it even gives an algorithm
to guide the modification of the -version-info argument just before a
release or along with a change that impacts the interface of the
library.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me