Michael Eager - 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: Michael Eager
- To: Ian Lance Taylor
- Cc: "Joseph S. Myers" , Daniel Jacobowitz , Paolo Bonzini , gcc-patches at gcc dot gnu dot org, binutils at sourceware dot org, newlib at sourceware dot org
- Date: Thu, 08 Feb 2007 08:48:19 -0800
- Subject: Re: Updating top-level autoconf to 2.59
- References: 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> <20070208131821.GA2860@nevyn.them.org> <45CB28BB.8050805@lu.unisi.ch> <20070208141800.GA6649@nevyn.them.org> <Pine.LNX.4.64.0702081442160.25268@digraph.polyomino.org.uk> <m37iuslmod.fsf@localhost.localdomain>
Ian Lance Taylor wrote:
"Joseph S. Myers" joseph@codesourcery.com writes:
* If you want to build an explicitly cross tool despite host == target, or act like you are cross compiling despite build == host, or build a native tool (i.e. one using the native directory layout and installed as plain "gcc") despite host != target, or act like you aren't cross compiling (so can run execute tests for $host) despite build != host, these should be determined by explicit configure options; not by which of build, host and target where specified explicitly and which were defaulted. (And not by older autoconf's experiments to see if it can execute a program built for the host.)
I completely agree that this is how it should work. Unfortunately, this is not how autoconf {2.x,x>13} works. I don't agree with a number of the decisions made by the autoconf maintainers. However, I do think that as long we use autoconf, there is some benefit to be gained by following autoconf's default behaviour.
I'll stick my toe into this discussion.
Much of the discussion seems to be about how autoconf should guess what the user intended by --host, --build, --target. When --host or --build is omitted, autoconf makes guesses about what the user might have specified, then uses these guesses (as well as the exec test) to determine whether this is a native or cross build. The result is that the user tries to guess how autoconf is trying to guess what the user means.
When user=me, I go crazy. :-)
I would much prefer explicitly specifying that the build is cross or native. I want to specify --cross or --native (or the equivalent). I'd be happy to discard backward compatibility.
-- Michael Eager eager@eagercon.com 1960 Park Blvd., Palo Alto, CA 94306 650-325-8077
- Follow-Ups:
- Re: Updating top-level autoconf to 2.59
* From: Paul Brook - Re: Updating top-level autoconf to 2.59
* From: John Cowan - Re: Updating top-level autoconf to 2.59
* From: Alexandre Oliva
- 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
* From: Daniel Jacobowitz - Re: Updating top-level autoconf to 2.59
* From: Paolo Bonzini - 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: Ian Lance Taylor
- 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] |