Date: Wed, 26 Apr 2000 12:45:23 +0200 (MET DST)
   From: Peter Eisentraut <[EMAIL PROTECTED]>

   > 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.

No, that's definitely cross-compiling.  FreeBSD and Linux have
different libraries and header files.  At least some programs will
wind up with different config.h files.

   2) build and host, even when canonicalized, may be different for the same
   system, yielding to gratuitous failures under your proposal.

If somebody specifies different --build and --host options, they are
cross-compiling.  In fact, under the new regime, if somebody specifies
just --host, we can assume that they are cross-compiling.

We should certainly never rely on comparing configuration names, and I
don't think we are.

Ian

Reply via email to