Ralf Wildenhues <[EMAIL PROTECTED]> writes: > would be suited a bit better. Second though, there are many > "cross-compiling" situations where executing the program actually works, > so the above is at least a wee bit suboptimal. (Think i486 -> i686, or > Cygwin -> MinGW, or some simulator: on my GNU/Linux system, w32 binaries > are automatically sent to wine for consumption...)
Perhaps autoconf should de-couple "can i execute this binary" from "cross-compilation". Autoconf could test if it is possible to run programs by compiling a small program and run it, and see if the output is correct. So even if it is cross-compiling, it would be able to run tests that need to run a binary. /Simon