Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Nov 2007 14:45:34 +0100
From:      "Arjan van Leeuwen" <avleeuwen@gmail.com>
To:        "current@freebsd.org" <current@freebsd.org>
Subject:   Size of C++ debug binaries with gcc 4.2.1
Message-ID:  <d86b48730711020645u212b0723o18d731b62c9eb477@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d86b48730711020645u212b0723o18d731b62c9eb477>