Daniel Jacobowitz - Re: Updating top-level autoconf to 2.59 (original) (raw)
This is the mail archive of the gcc-patches@gcc.gnu.orgmailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
- From: Daniel Jacobowitz
- To: "Joseph S. Myers"
- Cc: Paolo Bonzini , gcc-patches at gcc dot gnu dot org, binutils at sourceware dot org, newlib at sourceware dot org
- Date: Thu, 8 Feb 2007 08🔞21 -0500
- Subject: Re: Updating top-level autoconf to 2.59
- References: 20061214194654.GA6243@nevyn.them.org 200701112249.OAA12557@hpsje.cup.hp.com 20070111225346.GA1335@nevyn.them.org <20070207193352.GA13757@nevyn.them.org> <Pine.LNX.4.64.0702072344050.7123@digraph.polyomino.org.uk> <20070208032909.GA8419@nevyn.them.org> <45CADD5E.404@lu.unisi.ch> <Pine.LNX.4.64.0702081239290.12368@digraph.polyomino.org.uk> <45CB1C16.10407@lu.unisi.ch> <Pine.LNX.4.64.0702081251340.12368@digraph.polyomino.org.uk>
On Thu, Feb 08, 2007 at 12:58:55PM +0000, Joseph S. Myers wrote:
Where "right" means host defaults from build, or from target? My case is same target, several hosts, target may be the same as one of the hosts.
From build. That's what "Specifying the System Type" in the autoconf manual says, quite clearly.
Answers for 2.59:
What are the options supposed to be for build A, host B, target C (all different)?
Specify all.
What are they meant to be for build A, host B, target B?
Specify --build and --host.
What are they meant to be for build A, host A, target A?
Specify --build.
What are they meant to be for build A, host B, target A?
Specify --build, --host, --target.
What are they meant to be for build A, host A, target B?
Specify --build, --target.
Assume in all cases that options (a) should work for both 2.13 and 2.59 toplevel (and ideally for pre-3.4 Cygnus configure), (b) should never fall back to using config.guess. At present you can specify all of build, host and target and this works for all GCC versions that I know of, for every case listed above.
If you ask for the sky, don't be surprised when all you get is a raincloud. This is not possible. Take it up with the autoconf maintainers, not with me.
2.13 defaults build to host and runs config.guess if you do not specify host. 2.59 defaults host to build and runs config.guess if you do not specify build. They are clearly incompatible, and the 2.59 interpretation is pretty clearly more sensible, too.
Autoconf 2.59 assumes you want a cross tool if you specify --target, no matter what you specify it as.
-- Daniel Jacobowitz CodeSourcery
- Follow-Ups:
- Re: Updating top-level autoconf to 2.59
* From: Paolo Bonzini
- Re: Updating top-level autoconf to 2.59
- References:
- Re: Updating top-level autoconf to 2.59
* From: Daniel Jacobowitz - Re: Updating top-level autoconf to 2.59
* From: Joseph S. Myers - Re: Updating top-level autoconf to 2.59
* From: Daniel Jacobowitz - Re: Updating top-level autoconf to 2.59
* From: Paolo Bonzini - Re: Updating top-level autoconf to 2.59
* From: Joseph S. Myers - Re: Updating top-level autoconf to 2.59
* From: Paolo Bonzini - Re: Updating top-level autoconf to 2.59
* From: Joseph S. Myers
- Re: Updating top-level autoconf to 2.59
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |