How does the gcc -g option affect performance?
Vishnu Mahadevan Menon
vishnu_m_menon@yahoo.com
Thu Mar 3 15:17:00 GMT 2005
Thanks for all your replies!
Daniel,
> -g will not change what optimizations are run, or
> code generated.
> This is gcc policy.
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?
It's great to know that -g doesn't tamper with the
executable portion.
Regards,
Vishnu.
__________________________________
Celebrate Yahoo!'s 10th Birthday!
Yahoo! Netrospective: 100 Moments of the Web
http://birthday.yahoo.com/netrospective/
More information about the Gcc-help
mailing list