From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26685 invoked by alias); 2 Jan 2003 17:28:07 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 26671 invoked from network); 2 Jan 2003 17:28:06 -0000 Received: from unknown (HELO desire.geoffk.org) (12.235.56.190) by 209.249.29.67 with SMTP; 2 Jan 2003 17:28:06 -0000 Received: (from geoffk@localhost) by desire.geoffk.org (8.11.6/8.11.6) id h02HRqS20451; Thu, 2 Jan 2003 09:27:52 -0800 X-Authentication-Warning: desire.geoffk.org: geoffk set sender to geoffk@geoffk.org using -f To: Andrew Cagney Cc: binutils@sources.redhat.com, gdb@sources.redhat.com, dje@transmeta.com Subject: Re: ^c now disallowed? (was Re: "cd dir && $(MAKE)", not "cd dir; $(MAKE)") References: <20021228041443.GA3199@doctormoo> <3E14530E.90809@redhat.com> From: Geoff Keating Date: Thu, 02 Jan 2003 17:28:00 -0000 In-Reply-To: <3E14530E.90809@redhat.com> Message-ID: User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-01/txt/msg00016.txt.bz2 Andrew Cagney writes: > In the past, with separate configure / build phases, this was easy - > cntrl-c the configure and blow away the directory tree. Now, with the > configure phases intermingled with the build phases, doing this has > become that much harder. > > All that is hopefully needed is a bit of dependency tweaking - touch > something after the configure phase completes and depend on that. Ideally, if one wanted to build GDB and not GCC (for instance), it would be as easy as saying 'make all-gdb'. Since the Makefile now runs configure, the GCC configury shouldn't be run. I do think that 'make ; ^c ; make' should work. The ^c might be something like 'disk full' or 'oops, foo/configure fails with exit 1' or 'oops, cc1 has the wrong permissions'. -- - Geoffrey Keating