Re: How does the gcc -g option affect performance?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Madani, Srikanth, VF-DE wrote:

The binary produced with the -g debugging flag, and then stripped will have no symbols; whereas the binary produced without the -g flag will.

That's an oversimplification; if you use strip --strip-debug, you will end up with the same binary as if you had never used -g.


If you use any more aggressive options for strip, then yes, you will lose other symbols that may have been there for legitimate reasons.

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux