This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Installed location of 'as' for cross targets (--enable-targets)
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: binutils at sources dot redhat dot com
- Cc: Nathanael Nerode <neroden at gcc dot gnu dot org>
- Date: Wed, 17 Sep 2003 10:38:37 +0930
- Subject: Re: Installed location of 'as' for cross targets (--enable-targets)
- References: <20030916194606.GE30481@systemhalted><m3wuc87br3.fsf@gossamer.airs.com>
On Tue, Sep 16, 2003 at 12:51:28PM -0700, Ian Lance Taylor wrote:
> The fix may be to only specify --build. But then that may not work at
> the top level. Not sure.
It doesn't. Just --host at the toplevel should work though. The top-
level is buggy IMO. Quote from autoconf.info:
For temporary backward-compatibility, when `--host' is specified
but `--build' isn't, the build system will be assumed to be the
same as `--host', and `build_alias' will be set to that value.
Eventually, this historically incorrect behavior will go away.
Also:
Hint: if you mean to override the result of `config.guess', prefer
`--build' over `--host'. In the future, `--host' will not override the
name of the build system type.
--
Alan Modra
IBM OzLabs - Linux Technology Centre