Huge Increase in Unstripped Executable Size G++ 2.95 to 3.2

Devang Patel dpatel@apple.com
Fri Feb 28 19:53:00 GMT 2003


On Friday, February 28, 2003, at 07:29 AM, Daniel Jacobowitz wrote:

> For one thing, if you're saying "should be handled by the preprocessor"
> then you don't understand what Jim means by duplicated includes.  He's
> talking about multiple object files which include the same header; it's
> a _linker_ optimization.

If we continue to look that way then we are accepting compile time
penalty for producing redundant debugging information in each object 
file.

GCC can avoid that. We are doing it for STABS. Couple of weeks ago I
sent one brief message with "Symbol Separation" title.

If interested, I can prepare patch of what we have to start detail
discussion about this and how one can use it for DWARF2. (Or it just 
works,
I have not even tried it with DWARF2)

thoughts?

-Devang



More information about the Gcc mailing list