public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Joachim.Eibl@RSD.rohde-schwarz.com
To: gcc-help@gcc.gnu.org
Subject: How can I shrink the size of debug info?
Date: Tue, 06 May 2003 13:54:00 -0000	[thread overview]
Message-ID: <C1256D1E.004C5D46.00@mail.rohde-schwarz.com> (raw)

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





                 reply	other threads:[~2003-05-06 13:54 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C1256D1E.004C5D46.00@mail.rohde-schwarz.com \
    --to=joachim.eibl@rsd.rohde-schwarz.com \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).