On May 29, 2000, Stephan Kulow <[EMAIL PROTECTED]> wrote:

> Ossama Othman wrote:

>> Now that I think about it, libtool is only reproducing what the C++
>> compiler would normally do internally, so why would libtool be wrong?
>> Specifically, libtool disables the internal library link commands that
>> the C++ compiler would normally perform automatically, and simply does
>> the linking itself.  Why does it work for the C++ compiler?

> It doesn't. This is a bug in gcc at least til 2.8.1 (no 2.95 here at
> the moment):

Which means libtool should consider whether to add libstdc++ (or any
other implicitly-linked libraries, for that matter) just like it
considers any other libraries: on platforms that won't allow non-PIC
code into shared libraries, we'd have to drop it.

-- 
Alexandre Oliva    Enjoy Guaranį, see http://www.ic.unicamp.br/~oliva/
Cygnus Solutions, a Red Hat company        aoliva@{redhat, cygnus}.com
Free Software Developer and Evangelist    CS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org}   Write to mailing lists, not to me

Reply via email to