Size of C++ debug binaries with gcc 4.2.1

Previous thread: 7.0-CURRENT-200710-i386 not getting to sysinstall by oreverb on Friday, November 2, 2007 - 12:32 pm. (2 messages)

Next thread: ZFS hangs by Thomas Sparrevohn on Friday, November 2, 2007 - 8:52 am. (1 message)
From: Arjan van Leeuwen
Date: Friday, November 2, 2007 - 6:45 am

Hi,

Since updating to FreeBSD 7.0, the size of my C++ binaries with debug
symbols has quadrupled (on a specific binary I have to work with a lot, it
increased from around 200MB to 860MB). If I use gcc 4.1 from ports, the
debug size is only a bit bigger than what I used to have with gcc 3.4 on
FreeBSD 6. The big size slows me down: linking is a lot slower, and loading
the file into the debugger also takes a lot more time.

- Why is there such a big difference in size between gcc 4.1 and gcc 4.2?
What extra information is included?

- How do I turn it off, so I can go back to fast linking and stop fiddling
my thumbs a few minutes every time I want to start the debugger?

Thanks,

Arjan
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
Previous thread: 7.0-CURRENT-200710-i386 not getting to sysinstall by oreverb on Friday, November 2, 2007 - 12:32 pm. (2 messages)

Next thread: ZFS hangs by Thomas Sparrevohn on Friday, November 2, 2007 - 8:52 am. (1 message)