This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: How does the gcc -g option affect performance?
- From: "Madani, Srikanth, VF-DE" <Srikanth dot Madani at vodafone dot com>
- To: <gcc-help at gcc dot gnu dot org>, "Vishnu Mahadevan Menon" <vishnu_m_menon at yahoo dot com>
- Date: Thu, 3 Mar 2005 18:45:59 +0100
- Subject: RE: How does the gcc -g option affect performance?
Vishnu Mahadevan Menon wrote on Donnerstag, 3. März 2005 16:18
> Lets say we remove all the debug information using
> elfutil's strip. Does the above imply that the
> stripped version will as good as a binary produced
> *without* using -g?
Not the same, anyway.
The binary produced with the -g debugging flag, and then stripped will have no symbols; whereas the binary produced without the -g flag will.
Cheers,
Srikanth Madani