From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26184 invoked by alias); 9 Nov 2002 23:47:35 -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 26169 invoked from network); 9 Nov 2002 23:47:34 -0000 Received: from unknown (HELO mailout6-0.nyroc.rr.com) (24.92.226.177) by sources.redhat.com with SMTP; 9 Nov 2002 23:47:34 -0000 Received: from doctormoo (syr-24-24-16-193.twcny.rr.com [24.24.16.193]) by mailout6-0.nyroc.rr.com (8.11.6/RoadRunner 1.20) with ESMTP id gA9NlWk17769; Sat, 9 Nov 2002 18:47:32 -0500 (EST) Received: from neroden by doctormoo with local (Exim 3.36 #1 (Debian)) id 18AfK5-0004FT-00; Sat, 09 Nov 2002 18:47:29 -0500 Date: Sat, 09 Nov 2002 15:47:00 -0000 To: gcc@gcc.gnu.org Cc: gdb@sources.redhat.com, binutils@sources.redhat.com Subject: Complicated config puzzle (m68k-apollo-bsd, v810, aix4.3+ maintainers please reply) Message-ID: <20021109234729.GA15157@doctormoo> Reply-To: neroden@twcny.rr.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i From: Nathanael Nerode X-SW-Source: 2002-11/txt/msg00104.txt.bz2 I'm trying to untangle the maze that is toplevel configuration. I need some advice as to desired behavior. For the *host* m68k-apollo-bsd, currently host=build: sets BISON=yacc host!=build: sets BISON=bison BISON represents a build-side tool, correct? So we should set BISON=yacc whenever this is the *build* machine, right? For the *target* aix >= 4.3, currently host=build: sets AR_FOR_TARGET=ar -X32_64 sets NM_FOR_TARGET=nm -B -X32_64 host!=build: sets AR_FOR_TARGET=${target_alias}-ar sets NM_FOR_TARGET=${target_alias}-nm This just doesn't seem right at all. Under what circumstances do we want these flags? It looks like they're always valid for GNU ar, GNU nm, AIX ar, and AIX nm; I'm guessing we want them even in the Canadian case. I'm further guessing that we want ${target_alias}-ar whenever build!=target, with the flags added. I can do this. :-) For the *target* v810*, currently host=build: sets CC_FOR_TARGET=ca732 -ansi sets AS_FOR_TARGET=as732 sets AR_FOR_TARGET=ar732 host!=build: sets CC_FOR_TARGET = ${target_alias}-gcc sets AS_FOR_TARGET = ${target_alias}-as sets AR_FOR_TARGET = ${target_alias}-ar This also looks wrong (very, very wrong), but I'm not sure what to do with it. I'll hazard a guess that the '732' compilers should be used when build=target=v810* and not otherwise? But I could easily be wrong. These three points are the next things holding up the top level autoconfiscation. Hope to have them resolved soon. --Nathanael