public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Will strip remove what gcc adds with -g?
@ 2007-12-16 18:49 NightStrike
  2007-12-16 18:58 ` Andreas Schwab
  0 siblings, 1 reply; 2+ messages in thread
From: NightStrike @ 2007-12-16 18:49 UTC (permalink / raw)
  To: Binutils

As per the title, using gcc -g adds debug information.  Will strip
remove this information?

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Will strip remove what gcc adds with -g?
  2007-12-16 18:49 Will strip remove what gcc adds with -g? NightStrike
@ 2007-12-16 18:58 ` Andreas Schwab
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Schwab @ 2007-12-16 18:58 UTC (permalink / raw)
  To: NightStrike; +Cc: Binutils

NightStrike <nightstrike@gmail.com> writes:

> As per the title, using gcc -g adds debug information.  Will strip
> remove this information?

It will even remove more than that.  Use "strip -g" if you want to strip
only debug information.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-12-16 18:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-16 18:49 Will strip remove what gcc adds with -g? NightStrike
2007-12-16 18:58 ` Andreas Schwab

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).