This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Shared library annoyance with gcc-3_0-branch
- To: Alexandre Oliva <aoliva at redhat dot com>
- Subject: Re: Shared library annoyance with gcc-3_0-branch
- From: Phil Edwards <pedwards at disaster dot jaj dot com>
- Date: Wed, 21 Feb 2001 12:52:20 -0500
- Cc: Linus Torvalds <torvalds at transmeta dot com>, Bo Thorsen <bo at sonofthor dot dk>, Geert Bosch <bosch at gnat dot com>, dewar at gnat dot com, rth at redhat dot com, gcc at gcc dot gnu dot org
- References: <Pine.LNX.4.10.10102201115530.31099-100000@penguin.transmeta.com> <ork86kdt8v.fsf@guarana.lsd.ic.unicamp.br>
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.