autoconf: Compilers and Preprocessors
1
1 5.10 Compilers and Preprocessors
1 ================================
1
1 All the tests for compilers (`AC_PROG_CC', `AC_PROG_CXX',
1 `AC_PROG_F77') define the output variable `EXEEXT' based on the output
1 of the compiler, typically to the empty string if Posix and `.exe' if a
1 DOS variant.
1
1 They also define the output variable `OBJEXT' based on the output of
1 the compiler, after `.c' files have been excluded, typically to `o' if
1 Posix, `obj' if a DOS variant.
1
1 If the compiler being used does not produce executables, the tests
1 fail. If the executables can't be run, and cross-compilation is not
1 enabled, they fail too. ⇒Manual Configuration, for more on
1 support for cross compiling.
1
Menu