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: egcs links wrong libstdc++ and unwanted libgcc.a



  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


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