public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* How can I shrink the size of debug info?
@ 2003-05-06 13:54 Joachim.Eibl
  0 siblings, 0 replies; only message in thread
From: Joachim.Eibl @ 2003-05-06 13:54 UTC (permalink / raw)
  To: gcc-help

Hi,

I am porting a big library from Win32 to Linux. I'm using gcc-3.2 under
i386-Linux. The source is C++.

The Windows-DLL, generated via VC6, is 4.7 MByte in the release version and 14
MByte in the debug version. (approximately 3 times as large)

Under Linux the so-File is 6.6 MByte in the release version (compiled with -O1
and stripped), but 66 MByte in the debug version using -g and no optimization.
(approximately 10 times as large!)

Which options can I use to reduce the size of the debug version, without
compromising the debugability too much?

Regards,
Joachim





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-05-06 13:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-06 13:54 How can I shrink the size of debug info? Joachim.Eibl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).