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: libgcj size


On Tue, May 21, 2002 at 03:48:14PM +1200, Bryce McKinlay wrote:
> Yes, this is normal. Most of the bloat seems to be caused by the DWARF2 
> debugging info which is now on by default. Stripping the libgcj.so will 
> bring it down to 5-6MB. I am told that there are some size optimizations 
> (basically constant merging within the debug info) which can be done to 
> improve this situation, but I don't know if anyone is working on this.

You might be able to attack this within the compiler.

Try not emitting debug info for any class not being
emitted in the current object file.  Perhaps not as
pedantically correct as cross-CIE references, but
might be just as serviceable.


r~


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