[uClibc]DODEBUG vs. OPTIMIZE

Erik Andersen andersen at codepoet.org
Fri Dec 21 10:01:37 UTC 2001


On Fri Dec 21, 2001 at 05:29:19PM +0900, Miles Bader wrote:
> I notice that the DODEBUG configuration option has been changed so that
> when it's true, the contents of the OPTIMIZATION configuration option
> are no longer added to CFLAGS when compiling, so that `debugging' builds
> are no longer optimized at all.
> 
> I beleive this is a bad change, because it reduces flexibility, and adds
> no functionality.

I think I did that one day in annoyance when debugging and
finding that what I was wanting to debug had become too optimized
for gdb to follow.  But I agree with your assessment.  I should
have just set OPTIMIZATION="" instead.

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--




More information about the uClibc mailing list