Subject: Re: remove default of STRIPFLAG=-s ?
To: None <tech-toolchain@NetBSD.org>
From: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
List: tech-toolchain
Date: 02/11/2004 16:27:58
On Thu, Feb 12, 2004 at 00:00:42 +1100, Luke Mewburn wrote:

> I've been considering for a while that we should remove the
> default build setting of STRIPFLAG=-s (which causes programs to
> be stripped (with strip(1)) as they're installed (by install(8))

BTW, is there an opensource analog to SysV mcs(1) (manage comment
section)?  It can be stripped by adding -R .comment to STRIPFLAG, but
mcs(1) has a nice -c flag:

     -c    Compress the contents of the comment  section  of  the
           ELF  object  files. All duplicate entries are removed.
           The ordering of the  remaining  entries  is  not  dis-
           turbed.

The savings, though, are, arguably, minuscule - e.g. libc.so has a
.comment section of about 30K.

SY, Uwe
-- 
uwe@ptc.spbu.ru                         |       Zu Grunde kommen
http://www.ptc.spbu.ru/~uwe/            |       Ist zu Grunde gehen