How does the gcc -g option affect performance?

Madani, Srikanth, VF-DE Srikanth.Madani@vodafone.com
Thu Mar 3 17:51:00 GMT 2005


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



More information about the Gcc-help mailing list