This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Partial autoconf transition thoughts
- From: "Maciej W. Rozycki" <macro at ds2 dot pg dot gda dot pl>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: Alexandre Oliva <aoliva at redhat dot com>, Nathanael Nerode <neroden at twcny dot rr dot com>, gcc at gcc dot gnu dot org, gdb at sources dot redhat dot com, binutils at sources dot redhat dot com
- Date: Tue, 10 Jun 2003 14:38:00 +0200 (MET DST)
- Subject: Re: Partial autoconf transition thoughts
- Organization: Technical University of Gdansk
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 +