Re: GCC Build Defaults to Debug Mode?

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

 



On Wed, 2017-01-11 at 19:23 +0100, Marc Glisse wrote:
> On Wed, 11 Jan 2017, Nick wrote:
> 
> > Stripping the debug info, while possible, might be tricky because I
> > don't necessarily know all the files from GCC which get linked into my
> > app.  And while I can try to find them now, I worry that over time
> > others might get linked in.  I don't suppose there's an easy way to
> > systematically strip it out from all libs that GCC produces (ie. without
> > necessarily specifying each obj or lib file)?
> 
> https://gcc.gnu.org/install/finalinstall.html has an answer for that.
> 
Looks promising.  Coupled with Andrew's suggestion of this approach (vs.
not including debugging symbols in the first place), this could solve my
problem.

I'll give it a shot and follow-up.

Thank you all!





[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