linux-mips
[Top] [All Lists]

Re: PATCH: Handle Linux/mips (Re: Why is byteorder removed from /proc/cp

To: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Subject: Re: PATCH: Handle Linux/mips (Re: Why is byteorder removed from /proc/cpuinfo?)
From: Ben Elliston <bje@redhat.com>
Date: Tue, 11 Dec 2001 09:40:50 +1000 (EST)
Cc: Ralf Baechle <ralf@oss.sgi.com>, "H . J . Lu" <hjl@lucon.org>, <linux-mips@oss.sgi.com>
In-reply-to: <Pine.GSO.3.96.1011210211533.24010J-100000@delta.ds2.pg.gda.pl>
Sender: owner-linux-mips@oss.sgi.com
> > crosscompilation unlike the /proc/cpuinfo thing and doesn't rely on
> > properly installed libraries and headers might possibly of interest for
> > building standalone software.

>  Hmm, I don't think config.guess is ever used for cross-compilation as
> the script's purpose is to guess the host and you need to specify one
> explicitly for a cross-compilation to happen.  Anyway it's saner not
> to use build system properties to guess host system ones.

You're close, but not quite correct.  In a cross-compilation environment,
the job of config.guess is to determine the type of the build system,
which may be different to the host and will certainly be different to the
target.

Ben


<Prev in Thread] Current Thread [Next in Thread>