[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[bug #27222] By default binaries should be built with '-g -O2'
From:
Yavor Doganov
Subject:
[bug #27222] By default binaries should be built with '-g -O2'
Date:
2009年8月11日 11:15:51 +0000
User-agent:
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.11) Gecko Kazehakase/0.5.4 Debian/0.5.4-2.2
Follow-up Comment #2, bug #27222 (project gnustep):
I think there are still plenty of bugs on some targets with -O3 and higher,
so this seems risky.
I think this is most natural:
* debug=yes (default): -g -O2
* debug=no: -O2
If a developer/user wants unoptimized build for better debugging, `make
OPTFLAG=-O0' is the way to go, just like in a typical autoconfiscated package
one would do `./configure CFLAGS=-g'.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?27222>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/