autoconf
[Top][All Lists]
Advanced

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

Re: debug builds with NO optimizations


From: Andre Caldas
Subject: Re: debug builds with NO optimizations
Date: Tue, 14 Feb 2006 11:50:54 +0900
User-agent: Debian Thunderbird 1.0.7 (X11/20051017)

./configure CFLAGS="-g -O0"

Now whenever you do a "make", the default CFLAGS are "-g -O0". To use "-g -O2"
temporarily or for a session, then: #export CFLAGS="-g -O2"

Or:
make CFLAGS="-g -O2"

I prefere this because I will not forget about any garbage "CFLAGS" that maybe there when I start doing other things 30 minutes latter.

Andre Caldas.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]