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 Wed, Feb 21, 2001 at 11:07:44AM -0300, Alexandre Oliva wrote:
> 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". 

Things like <unbelievably critical program> should probably be linked
statically.  Or if not, then the maintainers should select which libraries to
link statically and which to link dynamically.  I would hope that mount(1)
and company get more attention to their makefiles than, say, Yet Another
Desk Calculator Written By A Freshman Student.  (Those seem to keep popping
up on my networks.  I don't know why.)


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

Not only that, but I've been using ncurses-5.2 to test the C++ library.
Occasionally something happens that breaks ncurses; usually somebody else
catches it quickly.  All the more reason to get a working C++ compiler
out there.


Phil

-- 
pedwards at disaster dot jaj dot com  |  pme at sources dot redhat dot com
devphil at several other less interesting addresses in various dot domains
The gods do not protect fools.  Fools are protected by more capable fools.


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