This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC Build Defaults to Debug Mode?


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 Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]