On Mon, 22 May 2000, Ossama Othman wrote:
> Okay, but it seems odd that the only way to disable the "-g -O2" is to
> set CFLAGS/CXXFLAGS in the environment.  IMHO, it would be better to
> add "--enable-debug" and "--enable-optimize=level" options, so that is
> easier to disable either or both flags without forcing the user to set
> C/CXXFLAGS just so that can disable the flags automatically set by
> configure.  Note that, I'm not advocating that autoconf not set these

Notice that this would then require Autoconf to be cognizant about the
debug and optimization flags supported by the many available
compilers. The current scheme places this burden on the user.

Compilers support many optimization flags, including those which
optimize for a particular CPU, or play tricks with floating point.

Bob
======================================
Bob Friesenhahn
[EMAIL PROTECTED]
http://www.simplesystems.org/users/bfriesen

Reply via email to