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

> This is a bug in gcc at least til 2.8.1 (no 2.95 here at the
> moment):

> _IO_do_write                        0x8c       
> /opt/GCC281/lib/libstdc++.
> a(stdiostream.o)

Not a bug.  It's just that libstdc++ is not PIC, and Solaris' linker
refuses to include such non-PIC code in a shared library.  This means
you wouldn't be able to create a shared library with g++ on Solaris.

-- 
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