Re: GCC debug flags cleanup

2011-12-23 Thread Alexander Kabaev
On Thu, 22 Dec 2011 12:52:45 +0100 Erik Cederstrand wrote: > Hi, > > I've created a patch that cleans up FreeBSD Makefiles that > unconditionally set the -g flag for GCC. The motivation for this is > that it should be possible to add or remove this flag globally via > e.g. CFLAGS (it's part of m

Re: GCC debug flags cleanup

2011-12-23 Thread Eitan Adler
On Thu, Dec 22, 2011 at 6:52 AM, Erik Cederstrand wrote: > Hi, > > I've created a patch that cleans up FreeBSD Makefiles that unconditionally > set the -g flag for GCC. The motivation for this is that it should be > possible to add or remove this flag globally via e.g. CFLAGS (it's part of my >

Re: GCC debug flags cleanup

2011-12-22 Thread Mark Blackman
On Thu, 22 Dec 2011, Bob Bishop wrote: Hi, On 22 Dec 2011, at 11:52, Erik Cederstrand wrote: I've created a patch that cleans up FreeBSD Makefiles that unconditionally set the -g flag for GCC. [etc] Just a note of caution that I have had cases in the past where I suspected that GCC was

Re: GCC debug flags cleanup

2011-12-22 Thread Bob Bishop
Hi, On 22 Dec 2011, at 11:52, Erik Cederstrand wrote: > I've created a patch that cleans up FreeBSD Makefiles that unconditionally > set the -g flag for GCC. [etc] Just a note of caution that I have had cases in the past where I suspected that GCC was generating broken code without -g and good