Will strip remove what gcc adds with -g?

Andreas Schwab schwab@suse.de
Sun Dec 16 18:58:00 GMT 2007


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



More information about the Binutils mailing list