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: Daniel Jacobowitz <drow at mvista dot com>
- To: nabeel at netzero dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 27 Feb 2003 18:50:21 -0500
- Subject: Re: Huge Increase in Unstripped Executable Size G++ 2.95 to 3.2
- References: <20030227.154544.18888.253032@webmail06.lax.untd.com>
On Thu, Feb 27, 2003 at 11:45:21PM +0000, nabeel at netzero dot com wrote:
> Hi,
>
> I am sorry if this is not where I should direct my question. I have
> searched the FAQ, the web and user group lists, but no one answered
> this question.
>
> Switching from G++ 2.95.3 to 3.2, increased the unstripped debug build
> size from 14.0MB to 25.6MB. The stripped size is almost exactly the
> same at 5.7MB.
>
> Is there an explanation to this? Could it be that the debug information
> is included twice or something like that?
No, the debugging information is just bigger (and more thorough in some
ways, but mostly just bigger). Your target probably switched from
stabs to DWARF-2 between those two versions.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer