This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: c/6849: linux gcc3.1 compiled images are twice the size of gcc3.0.4


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]