Shared library annoyance with gcc-3_0-branch

Alexandre Oliva aoliva@redhat.com
Wed Feb 21 06:08:00 GMT 2001


On Feb 20, 2001, Linus Torvalds <torvalds@transmeta.com> wrote:

> But you should realize that gcc is still used for things like system
> binaries, and they use C. Not C++:

> Things like "mount". Things like "ifconfig". 

A number of what you call system binaries are linked with ncurses.
And, guess what?  ncurses is at least partially coded in C++.  I don't
know whether it makes use of exception handling, but, unless it's
explicitly compiled with -fno-exceptions, it will bring in the EH
support from libgcc into the dependencies of the so-called system
binary.

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



More information about the Gcc mailing list