Return-Path: Delivered-To: apmail-new-httpd-archive@apache.org Received: (qmail 82529 invoked by uid 500); 11 May 2001 03:40:21 -0000 Mailing-List: contact new-httpd-help@apache.org; run by ezmlm Precedence: bulk Reply-To: new-httpd@apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list new-httpd@apache.org Received: (qmail 82500 invoked from network); 11 May 2001 03:40:20 -0000 Date: Thu, 10 May 2001 20:37:38 -0700 From: "Roy T. Fielding" To: new-httpd@apache.org Cc: dev@perl.apache.org Subject: Re: gcc -g -O2 ==> gdb stepping problems [Was: gdb & mod_perl-2.0?] Message-ID: <20010510203738.A32198@waka.ebuilt.net> Mail-Followup-To: "Roy T. Fielding" , new-httpd@apache.org, dev@perl.apache.org References: <20010504144426.A10622@jester.slaysys.com> <20010510161150.C10554@jester.slaysys.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.13-current-20010115i In-Reply-To: <20010510161150.C10554@jester.slaysys.com>; from barries@slaysys.com on Thu, May 10, 2001 at 04:11:51PM -0400 X-AntiVirus: scanned for viruses by AMaViS 0.2.1-pre3 (http://amavis.org/) X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N > 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 configure. ....Roy