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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



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


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