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