Code Bloat g++

Gerald Pfeifer
Wed Feb 16 14:29:00 GMT 2000

On Tue, 15 Feb 2000, Martin v. Loewis wrote:
> Anyway, as Alexandre points out: this is debugging information, so
> what is the problem?

When compiling template-heavy C++ code with -g, GCC generates huuuuge
.s files which take 10+ minutes to assemble with Sun as, even on a fast

It might be that GNU as is faster, but the size of .s files with debugging
information on sparc-sun-solaris2.6 alone is prohibitive.

Gerald "Jerry"

More information about the Gcc mailing list