>>>>> "Ossama" == Ossama Othman <[EMAIL PROTECTED]> writes:

Ossama> Again, I admit that I can't think of any reason why anyone
Ossama> would want such a configuration, but IMHO autoconf should not
Ossama> be so restrictive.

I think it should.  It should propose the Right Way To Do It to the
people who know, and this is --host, and refuse any other alternative
guess.  Let's have only one answer per question.  Several answers,
several ways to perform a single tasks if bad.  There Should Not Be
More Than One Way To Do It.

Ossama> However, this point is moot since the proposed Autoconf patch
Ossama> prevents "mismatched" configurations from being used.  Is this
Ossama> correct?

I'm not sure to understand what you are referring to.  The patch I
sent sets cross_compiling to yes when --host.  Later it checks if the
compiler is believed to be a cross-compiler (the usual
ac_prog_cc_cross etc.).  If there is a mismatch (yes-no and no-yes),
it WARN complains, but will always proceed with a `yes'.

I agree with Paul any mismatch should be an error.



>> I would also say that _any_ detected cross-compiler is "very
>> suspicious" _by default_, and configure should die immediately.

Ossama> If all you work with is cross-compilers, then wouldn't this
Ossama> annoy you to no end?  Embedded software developers do a great
Ossama> deal of their work with cross-compilers.

No, I don't think so (but I confess I'm not in this situation, so it's
a pure guess I'm making), because --host is just what is needed, and
it is not that expensive.



Ossama> I just don't see why enabling cross compilation is
Ossama> "adventerous" or "foolish," especially if that is what you
Ossama> want.  Presumably anyone who enables cross compilation knows
Ossama> what they are doing.  Autoconf should not get in their way.

Maybe I'm becoming a fanatic of `--host', but it seems to me that you
two people can perfectly agree on the definition `cross-compiling ==
--host'.  Paul is happy because by default bizarre situations are
denounced, and Ossama is too because it is simple and clear.  And
remember this is valid for *any* package, not only those with
AC_CANONICAL_SOMETHING.


        Akim

Reply via email to