Re: GCC Build Defaults to Debug Mode?

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

 



On 01/11/2017 06:24 PM, Andrew Haley wrote:
On 11/01/17 18:23, 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.

"You can install stripped programs and libraries with

     make install-strip"

Wow!  You learn something every day...


Never saw that before.  I still think it is a bad idea but hey, there
 is an option for that and wow is right.

Nicely done.

Dennis




[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