From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3057 invoked by alias); 9 May 2003 18:19:28 -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 2779 invoked from network); 9 May 2003 18:19:26 -0000 Received: from unknown (HELO ns2.jaj.com) (66.93.21.106) by sources.redhat.com with SMTP; 9 May 2003 18:19:26 -0000 Received: by ns2.jaj.com (Postfix, from userid 1002) id C241F2C46E; Fri, 9 May 2003 14:19:25 -0400 (EDT) Date: Fri, 09 May 2003 18:19:00 -0000 From: Phil Edwards To: DJ Delorie Cc: dhazeghi@yahoo.com, gcc@gcc.gnu.org, binutils@sources.redhat.com, gdb@sources.redhat.com Subject: Re: srcdir == objdir build issues [SC take note] Message-ID: <20030509181925.GD1188@disaster.jaj.com> References: <20EC888E-81F7-11D7-9B47-000393681B36@yahoo.com> <200305091755.h49Htqc21246@greed.delorie.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200305091755.h49Htqc21246@greed.delorie.com> User-Agent: Mutt/1.5.3i X-SW-Source: 2003-05/txt/msg00144.txt.bz2 On Fri, May 09, 2003 at 01:55:52PM -0400, DJ Delorie wrote: > I keep noting that every other source > package besides gcc is build with "./configure; make" and we'd only be > surprising the users if we don't allow it. Very true. > So here's an idea. Let's ask the Steering Committee what we should > support. Whatever we choose to not support, I'll modify configure to > detect and just plain fail, so there will be no doubts about the > situation any more. There's no reason to make it gratuitously fail. I implemented a patch that would solve both problems: configury only has to deal with out-srcdir builds, plus the users can do "./configure; make" with no surprises. You rejected it because it would confuse a user who wanted to debug a problem but would be confused when objects weren't in the same place as the sources. Which means, a user who - was proficient enough with computers to be building a compiler from scratch - cared enough to investigate the causes of a failed build - knew about ".c" files turning into ".o" files but - hadn't read the documentation where we point out separate objdir builds, - didn't know how to type "ls" and notice brand new subdirs named "build-*" I disbelieve such a user exists. Phil -- If ye love wealth greater than liberty, the tranquility of servitude greater than the animating contest for freedom, go home and leave us in peace. We seek not your counsel, nor your arms. Crouch down and lick the hand that feeds you; and may posterity forget that ye were our countrymen. - Samuel Adams