From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28695 invoked by alias); 15 Feb 2010 18:23:19 -0000 Received: (qmail 28536 invoked by uid 22791); 15 Feb 2010 18:23:18 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from fencepost.gnu.org (HELO fencepost.gnu.org) (140.186.70.10) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 15 Feb 2010 18:23:13 +0000 Received: from ams by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1Nh5bC-0003QR-AO; Mon, 15 Feb 2010 13:23:10 -0500 From: "Alfred M. Szmidt" To: Andreas Schwab CC: nickc@redhat.com, binutils@sourceware.org, gdb-patches@sourceware.org, gcc-patches@gcc.gnu.org In-reply-to: (message from Andreas Schwab on Mon, 15 Feb 2010 19:04:05 +0100) Subject: Re: Remove config.cache files when reconfiguring at top level Reply-to: ams@gnu.org References: <4B796E1D.7000104@redhat.com> Message-Id: Date: Mon, 15 Feb 2010 18:23:00 -0000 X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-02/txt/msg00370.txt.bz2 >> This should be optional, as it also erases any manual changes >> added to the cache file. > > Ah - I did not know that users would ever modify the cache files. That's the only way to override cross-compile defaults in target libraries. Can't you pass the variables on the command line? I.e. .../configure ac_cv_foo=123 I've used this for overriding cross-compile defaults in various programs though never had the need for gcc/gdb/binutils.