This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: egcs links wrong libstdc++ and unwanted libgcc.a
- To: Carlo Wood <carlo at runaway dot xs4all dot nl>
- Subject: Re: egcs links wrong libstdc++ and unwanted libgcc.a
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Mon, 22 Jun 1998 00:00:17 -0600
- cc: egcs at cygnus dot com (egcs at cygnus dot com)
- Reply-To: law at cygnus dot com
In message <199806201915.VAA19131@jolan.ppro>you write:
> I still have g++-2.8.1 installed, and egcs uses the stdc++ library
> from that distribution - isn't that a bug?
No. Not really. You have to take precautions to handle this when you
have multiple copies of any given library on a system.
> Moreover, I have no libgcc installed on my machine, because I insist on
> nothing being linked with it.
Err, yes you do, you just don't know it :-)
> However, after installing egcs I find out that it links statically with
> libgcc.a, while that isn't needed at all to make it work.
It's needed for exception handling, some "long long" operations, gcov
support and other stuff.
jeff