From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2570 invoked by alias); 10 Jun 2003 12:45:53 -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 2238 invoked from network); 10 Jun 2003 12:45:48 -0000 Received: from unknown (HELO delta.ds2.pg.gda.pl) (213.192.72.1) by sources.redhat.com with SMTP; 10 Jun 2003 12:45:48 -0000 Received: from localhost by delta.ds2.pg.gda.pl (8.9.3/8.9.3) with SMTP id OAA21021; Tue, 10 Jun 2003 14:38:01 +0200 (MET DST) X-Authentication-Warning: delta.ds2.pg.gda.pl: macro owned process doing -bs Date: Tue, 10 Jun 2003 12:45:00 -0000 From: "Maciej W. Rozycki" To: Andreas Schwab cc: Alexandre Oliva , Nathanael Nerode , gcc@gcc.gnu.org, gdb@sources.redhat.com, binutils@sources.redhat.com Subject: Re: Partial autoconf transition thoughts In-Reply-To: Message-ID: Organization: Technical University of Gdansk MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2003-06/txt/msg00157.txt.bz2 On Tue, 10 Jun 2003, Andreas Schwab wrote: > |> Well, if I specify --host, I mean I want to use a different alias than > |> the one that is expanded by config.sub. > > I think you are supposed to use --build instead. But then host (correctly) defaults to build but host_alias (incorrectly) defaults to host. I mean the current dependency between variables in autoconf is as follows ("(sub)" meaning passing through config.sub): guess | override -(sub)-+ | | | | v v v build_alias <-- build | override -(sub)-+ | | | | v v v host_alias <--- host | override -(sub)-+ | | | | v v v target_alias <- target And I would like to see it as follows: guess | v override -> build_alias --(sub)-> build | v override -> host_alias ---(sub)-> host | v override -> target_alias -(sub)-> target I think it makes sense and the dependencies seem even simpler. Maciej -- + Maciej W. Rozycki, Technical University of Gdansk, Poland + +--------------------------------------------------------------+ + e-mail: macro@ds2.pg.gda.pl, PGP key available +