From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6854 invoked by alias); 30 Mar 2004 00:11:26 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 6835 invoked from network); 30 Mar 2004 00:11:26 -0000 Received: from unknown (HELO mta6.wss.scd.yahoo.com) (66.218.85.37) by sources.redhat.com with SMTP; 30 Mar 2004 00:11:26 -0000 Received: from specifixinc.com (24.7.123.142) by mta6.wss.scd.yahoo.com (7.0.016) (authenticated as jim@tuliptree.org) id 405C545E0049E206; Mon, 29 Mar 2004 16:11:24 -0800 Message-ID: <4068BB33.4090102@specifixinc.com> Date: Tue, 30 Mar 2004 01:16:00 -0000 From: Jim Wilson User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20030716 MIME-Version: 1.0 To: sashan CC: gcc@gcc.gnu.org Subject: Re: [Newb] Building with debug info and no optimization References: <405B99BE.904@ihug.co.nz> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-03/txt/msg01683.txt.bz2 sashan wrote: > configure: error: `CFLAGS' has changed since the previous run: > configure: former value: -g -O2 > configure: current value: -g > configure: error: changes in the environment can compromise the build > configure: error: run `make distclean' and/or `rm ./config.cache' and > start over If you look at the errors carefully, you will see that the problem is not in the toplevel but rather in one of the subdirectories. So the problem is not ./config.cache but rather subdir/config.cache, where you can get subdir from the make output. You can try deleting them one at a time, but if one is broken probably all are broken. So you may want to try something like "rm */config.cache". It is probably safer to just configure a new tree though. Delete the old build tree and configure a new one, instead of trying to reconfigure a build tree after a cvs update. -- Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com