This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


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

Re: debug flags (-feliminate-dwarf2-dups)



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


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