This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Huge Increase in Unstripped Executable Size G++ 2.95 to 3.2
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- Cc: Jim Wilson <wilson at tuliptree dot org>, Andi Kleen <ak at suse dot de>, Andreas Schwab <schwab at suse dot de>, gcc at gcc dot gnu dot org, nabeel at netzero dot com
- Date: 03 Mar 2003 07:15:50 -0300
- Subject: Re: Huge Increase in Unstripped Executable Size G++ 2.95 to 3.2
- Organization: GCC Team, Red Hat
- References: <20030227.154544.18888.253032@webmail06.lax.untd.com.suse.lists.egcs><3E5ED96F.9090902@tuliptree.org.suse.lists.egcs><p73ptpc7rjt.fsf@amdsimf.suse.de> <jeisv4y3hy.fsf@sykes.suse.de><20030228130640.GA16376@wotan.suse.de><20030228152913.GA23295@nevyn.them.org><20030228153757.GB17745@wotan.suse.de><1046448467.999.29.camel@leaf.tuliptree.org><3E5FBCEF.7050203@moene.indiv.nluug.nl>
On Feb 28, 2003, Toon Moene <toon at moene dot indiv dot nluug dot nl> wrote:
> Well, that only works if you keep the objects :-)
We have programs that extract symbol information from executables and
shared libraries before stripping them, and a patch for gdb that
enables it to use the extracted debugging information. This doesn't
speed up build or install time or space, since the symbols still make
it to executables and to the install tree before they're stripped into
separate files, but it saves space in the binaries we ship without
removing the possibility of debugging such executables, as long as you
keep the extracted debugging information.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva at {redhat dot com, gcc.gnu.org}
CS PhD student at IC-Unicamp oliva at {lsd dot ic dot unicamp dot br, gnu.org}
Free Software Evangelist Professional serial bug killer