From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24887 invoked by alias); 24 Jan 2003 18:32:35 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 24742 invoked from network); 24 Jan 2003 18:32:34 -0000 Received: from unknown (HELO ms-smtp-01.nyroc.rr.com) (24.92.226.148) by 172.16.49.205 with SMTP; 24 Jan 2003 18:32:34 -0000 Received: from twcny.rr.com (syr-24-24-17-143.twcny.rr.com [24.24.17.143]) by ms-smtp-01.nyroc.rr.com (8.12.5/8.12.2) with ESMTP id h0OIWXnw002393; Fri, 24 Jan 2003 13:32:33 -0500 (EST) Message-ID: <3E3186B3.2050906@twcny.rr.com> Date: Fri, 24 Jan 2003 18:32:00 -0000 From: Nathanael Nerode User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3b) Gecko/20030113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Alexandre Oliva CC: gcc-patches@gcc.gnu.org, gdb-patches@sources.redhat.com, binutils@sources.redhat.com Subject: Re: (toplevel patch) Use canonical names for target_subdir, build_subdir. References: <20030124034053.GA22615@doctormoo> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-01/txt/msg00718.txt.bz2 Alexandre Oliva wrote: > On Jan 24, 2003, Nathanael Nerode wrote: > > >>Use the canonical build and target names for build_subdir and target_subdir. > > > Not ok. athlon-linux-gnu is canonicalized to i686-linux-gnu, so we > can't use the same directories for both of them. (Consider building a > compiler on athlon that must run on i686, or on the other way round). Eeech. All right. > I see where you're coming from, but we're really going to have to bite > the bullet and duplicate autoconf 2.5x's behavior WRT machine name You mean autoconf 2.13's behavior, I assume... > variables, or convince autoconf folks to give us some means to obtain > the defaulted values, which shouldn't be too hard. Say, if configure > could set {build,host,target}_noncanonical to whatever autoconf 2.13 > used to set as {build,host,target}_alias, we'd be all set. Bonus > points of they actually agree to go back to setting the _alias > variables in a backward-compatible way, They won't, and frankly I agree with them. > while setting _cmdline to > whatever was passed in the command line. OK. I'll do this the easy way: I'll write Autoconf macros which determine the "target_subdir" and "build_subdir" (exactly the same way they're determined now), put the macros in an include file, and rewrite the configure scripts to include it. How does that sound? --Nathanael