This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


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

Re: Large size of C++ v3 libs


On Fri, May 12, 2000 at 02:16:12PM -0600, llewelly@dbritsch.dsl.xmission.com wrote:
> On Fri, 12 May 2000, Ryszard Kabatek wrote:
> 
> > I compiled the gcc (egcs-20000501) on Linux (SuSE 6.2) with 
> > --enable-libstdcxx-v3. 
> > The build was successfull, but the size of the libraries is really large:
> > libstdc++.a       - 24584366 bytes,
> > libstdc++.so.3.0.0 - 5718674 bytes.
> 
> I believe the libraries are built with -g by default. Since they are
>   experimental, and thus probably buggy, this is usually a good
>   thing. However, it greatly increases the size of the binaries. 
> 
> If you decide to strip(1) them, be careful. On my i686-pc-linux-gnu, with
>   binutils 2.9.5.0.41, I need to use 'strip --strip-debug foo.a' and *not*
>   'strip --strip-unneeded foo.a'. The --strip-unneeded rips out the stack
>   unwinding stuff needed for exceptions, which it seems to consider
>   'unneeded'

This sounds like a bug in strip. Could you please provide a small
testcase? I'd like to fix it.

Thanks.


H.J.

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