This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: debug flags (-feliminate-dwarf2-dups)
- To: Benjamin Kosnik <bkoz at redhat dot com>
- Subject: Re: debug flags (-feliminate-dwarf2-dups)
- From: scott snyder <snyder at fnal dot gov>
- Date: 28 Mar 2001 00:47:15 -0600
- Cc: libstdc++ at gcc dot gnu dot org
- References: <200103280304.f2S34TH05569@fillmore.constant.com>
Benjamin Kosnik <bkoz@redhat.com> writes:
> hey scott. I noticed that you put these flags in your last email:
>
> -g -gdwarf-2 -feliminate-dwarf2-dups
>
> Seems interesting. I'm wondering if these should be just on by
> default, by changing DEBUG_FLAGS in the Makefiles.
Nah, probably not (as Jason indicated).
At the time i tabulated that, i was trying to see if there was some
way i could reduce the size of the debugging information.
(I've been doing test builds of our software on my laptop, but getting
it to fit in the ~2.5G of free space i have has been a bit of a challenge.)
I had seen -feliminate-dwarf2-dups mentioned on the mailing list and was
curious to see if it made a difference in the space required. The short
answer was no --- so i stayed with the default stabs format.
(Actually, it was amusing to see that -feliminate-dwarf2-dups significantly
_increased_ the object file sizes --- there's more overhead since each
object gets put in its own section. The sizes of the images after linking
were somewhat smaller, but overall, i think it was pretty much a wash.)
sss