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 Wednesday 31 December 1969 05:59 pm, Jim Wilson wrote:
>
> Shared libraries are a different matter.  The debug info would have to
> be in the shared library, or you would have to keep the original
> objects.  Either way there doesn't seem to be much benefit here for
> shared libraries.
>
> Jim
Noticed recently on the BinUtils list was a patch to put the debug
info into a seperate (debug info only) object file.

That patch was to support the VxWorks tools but it might be the
answer here.  
The executable object has non-debug code only (small) and 
the debug info is still available in the associated
debug object file.

I don't follow the gdb list - I don't know if gdb can handle the
"two file" format.

Mike


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