> -----Original Message-----
> From: Peter Eisentraut [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 26, 2000 12:45 PM
> To: Earnie Boyd
> Cc: [EMAIL PROTECTED]; Pavel Roskin; Mo DeJong; Akim Demaille;
> Autoconf List
> Subject: Re: Is this a bug in autoconf? (patch included)
>
>
> On Tue, 25 Apr 2000, Earnie Boyd wrote:
>
> > This make logical sense build!=host indicates cross-compilation.
>
> Two problems with this:
>
> 1) For example, if build is some FreeBSD and host is some Linux, then
> you're not *really* cross-compiling. At least it would be an
> incompatible
> change to the definition.
It depends what you call "cross-compiling".
If you mean "compiling for an incompatible processor" then you're right,
it's not coross-compiling, but this is not always crystall-clear: are
PentiumIII-Xeon and 386SX compatible processors? (it further depends on the
order we list them).
If you mean "compiling for a machine which can execute any program running
on the local system, except for missing optional features", then you are
wrong and this is cross-compiling.
>
> 2) build and host, even when canonicalized, may be different
> for the same
> system, yielding to gratuitous failures under your proposal.
>
These are not gratuiitous: if you want native compilation, you just
./configure
If you
./configure --host=something
that is because you expect not to be compiling for the local system, so you
are prepared to be cross-compiling, and get what you requested.
Bernard
--------------------------------------------
Bernard Dautrevaux
Microprocess Ingéniérie
97 bis, rue de Colombes
92400 COURBEVOIE
FRANCE
Tel: +33 (0) 1 47 68 80 80
Fax: +33 (0) 1 47 88 97 85
e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED]
--------------------------------------------