On May 17, 2000, Akim Demaille <[EMAIL PROTECTED]> wrote:

> I agree with Paul any mismatch should be an error.

I vote for *skipping* the cross-compilation test in case --host is
specified.  The reason is simple:

myi586% configure CC="gcc -mcpu=i686" --host i686-pc-linux-gnu

The program used by configure to detect cross compilers is very
unlikely to be complex enough to use i686-specific instructions.
So, on an i586, configure would complain it's not cross compiling.
Let's just trust the user in this case.

I agree we could have a hard error in case the user doesn't specify
--host but an executable produced by the compiler won't run.

-- 
Alexandre Oliva    Enjoy Guaran�, see http://www.ic.unicamp.br/~oliva/
Cygnus Solutions, a Red Hat company        aoliva@{redhat, cygnus}.com
Free Software Developer and Evangelist    CS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org}   Write to mailing lists, not to me

Reply via email to