This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c/6849: linux gcc3.1 compiled images are twice the size of gcc3.0.4
- From: Todd Matthews <todd at ssreng dot com>
- To: rth at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org,nobody at gcc dot gnu dot org, todd at ssreng dot com, gcc-gnats at gcc dot gnu dot org
- Date: Thu, 30 May 2002 09:20:38 -0700
- Subject: Re: c/6849: linux gcc3.1 compiled images are twice the size of gcc3.0.4
- References: <20020530015331.14170.qmail@sources.redhat.com>
We are compiling both with debugging information (-g option).
The size without debugging info is a little larger but not double.
Thanks
----- Original Message -----
From: <rth@gcc.gnu.org>
To: <gcc-bugs@gcc.gnu.org>; <gcc-prs@gcc.gnu.org>; <nobody@gcc.gnu.org>;
<todd@ssreng.com>
Sent: Wednesday, May 29, 2002 6:53 PM
Subject: Re: c/6849: linux gcc3.1 compiled images are twice the size of
gcc3.0.4
> Synopsis: linux gcc3.1 compiled images are twice the size of gcc3.0.4
>
> State-Changed-From-To: open->feedback
> State-Changed-By: rth
> State-Changed-When: Wed May 29 18:53:31 2002
> State-Changed-Why:
> This is not a bug report. Clearly not all images are exactly
> twice the size as with 3.0.
>
> It's probable that you're using C++ with debug info enabled
> and are confusing the size of the executable with the size
> of the code within that executable. We switched to dwarf2
> debug information, which at present is a bit larger than
> stabs for C++. It's also more accurate, so it's not like
> you get nothing for your space.
>
>
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&p
r=6849