This is the mail archive of the gcc@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: Shared library annoyance with gcc-3_0-branch


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


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