This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [v3] use -release, correct library VERSION


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]