This is the mail archive of the
gcc-prs@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: nobody at gcc dot gnu dot org
- Cc: gcc-prs at gcc dot gnu dot org,
- Date: 30 May 2002 16:26:02 -0000
- Subject: Re: c/6849: linux gcc3.1 compiled images are twice the size of gcc3.0.4
- Reply-to: Todd Matthews <todd at ssreng dot com>
The following reply was made to PR c/6849; it has been noted by GNATS.
From: Todd Matthews <todd@ssreng.com>
To: rth@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org,
nobody@gcc.gnu.org, todd@ssreng.com, gcc-gnats@gcc.gnu.org
Cc:
Subject: Re: c/6849: linux gcc3.1 compiled images are twice the size of gcc3.0.4
Date: Thu, 30 May 2002 09:20:38 -0700
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