libstdc++ libtool lossage

Alexandre Oliva aoliva@redhat.com
Wed Feb 20 19:42:00 GMT 2002


On Feb 18, 2002, Mark Mitchell <mark@codesourcery.com> wrote:

>> There is no way it should be this difficult to build a stinking
>> shared library.  One of these days I'm going to make "gcc -shared"
>> Just Work and then we can give libtool and automake the flush.
>> None of the runtime libraries distributed with gcc will ever be
>> built with anything but gcc, so it is pointless to cater to some
>> broken system's broken tools.

> I agree.

This may be surprising to some of you, but I also agree.  Having gcc
-shared just work would make libtool's life immensely easy.

Well, there are also library versioning issues, run-time search paths
and this kind of stuff that libtool takes care of that gcc just defers
to the user, so libtool actually goes against GCC policy in this
regard.  Not that I agree with GCC policy, but consistency comes
before personal preference.

-- 
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                Professional serial bug killer



More information about the Gcc mailing list