httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roy T. Fielding" <>
Subject Re: gcc -g -O2 ==> gdb stepping problems [Was: gdb & mod_perl-2.0?]
Date Fri, 11 May 2001 03:37:38 GMT
> Ok, got back to playing with this today: looks like the default CFLAGS
> setting for autoconf (created by AC_PROG_CC) is "-g -O2".  That seems
> like an odd combination to me, but it's as-installed on two RedHats and
> a FreeBSD.

Yes, that is the standard "reasonable default" per the Gnu project's
makefile standards, which is why autoconf sets it.  As you discovered,
it can be overridden by setting any value for CFLAGS prior to running


View raw message