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


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

Re: Binary size of the libstdc++.so library


On Jan 17, 2000, "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de> wrote:

>> Usually, you can't just `strip' them, otherwise you won't be able to
>> link any program with them, but you can always `--strip-debug' them.

> Are you sure? On a Linux system, and I guess on all ELF systems, strip
> knows what the .dynsym section is, and won't remove it.

Maybe GNU strip is smart enough to detect this.  But I've just had
trouble with an overly eager session of strip on HPsUX, using the
native strip, that ended up corrupting all shared and static libraries
of the GNU-software tree, and I ended up having to re-install
everything.  I recall having faced this kind of problem on SunOS4 and
Solaris2 in the past too, and probably in not so many other
architectures for the sole reason that my installation script would
strip only programs.

-- 
Alexandre Oliva http://www.ic.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
oliva@{lsd.ic.unicamp.br,guarana.{org,com}} aoliva@{acm,computer}.org
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
** I may forward mail about projects to mailing lists; please use them


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