Peter Rosin wrote:
> it is wrong, it is a cross compile
I don't want to discuss words. The term "cross compile" was coined at
a time when every machine had only 1 format of executables that it could
execute. Now there are two possible meanings of the term.
> I think a warning is warranted somewhere if you
> are trying to run the host code on the build machine in a cross setup.
> Doing so must be considered fragile.
There's nothing fragile about it. Autoconf detects whether it can run
binaries produced by $CC or not. It's in line with Autoconf's design to
determine attributes about the build environment, so that the user does
not have to provide this information explicitly.