I am unsure if this is due to host/target, build, or unrelated to triplets altogether.
Configure in Stage 2 gcc fails to determine to proper -E flag for the g++ preprocessor (in a 3-Stage build ../prev-gcc/g++ doesn't exist, so it shouldn't report anything), and instead reports an odd "/lib/cpp". Stage 1 is unaffected, and the build continues anyway. This is probably the same for Stage 3, but I haven't made it through the now-possible Win64 Native gcc build yet, it is a slow and fragile process. I have seen this error before however, with libgcc configure in a single-stage build, so it is not a unique to the gcc subdir configure or a 3-Stage build, and in that case it caused failure. I have copied all the relevant information out of the logs. Note the syntax errors in the failed test. The failed test configure log (Stage-2 gcc): configure:13317: checking how to run the C++ preprocessor configure:13344: /home/Peter/gcc-trunk/build2/./prev-gcc/g++ -B/home/Peter/gcc-trunk/build2/./prev-gcc/ -B/usr/system64/x86_64-w64-mingw32/bin/ -nostdinc++ -I/home/Peter/gcc-trunk/build2/prev-x86_64-w64-mingw32/libstdc++-v3/include/x86_64-w64-mingw32 -I/home/Peter/gcc-trunk/build2/prev-x86_64-w64-mingw32/libstdc++-v3/include -I/home/Peter/gcc-trunk/build2/../libstdc++-v3/libsupc++ -L/home/Peter/gcc-trunk/build2/prev-x86_64-w64-mingw32/libstdc++-v3/src/.libs -E conftest.cpp /home/Peter/gcc-trunk/gcc/configure: line 2543: /home/Peter/gcc-trunk/build2/./prev-gcc/g++: No such file or directory configure:13344: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define HAVE_GNU_LD 0 | #define HAVE_GNU_AS 0 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define SIZEOF_VOID_P 8 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE___INT64 1 | #define SIZEOF___INT64 8 | #define ENABLE_CHECKING 1 | #define ENABLE_ASSERT_CHECKING 1 | #define ENABLE_GIMPLE_CHECKING 1 | #define ENABLE_RUNTIME_CHECKING 1 | #define ENABLE_TREE_CHECKING 1 | #define ENABLE_TYPES_CHECKING 1 | #define ENABLE_RTL_FLAG_CHECKING 1 | #define ENABLE_GC_CHECKING 1 | #define ENABLE_DECIMAL_FLOAT 0 | #define ENABLE_DECIMAL_BID_FORMAT 0 | #define ENABLE_FIXED_POINT 0 | #define STDC_HEADERS 1 | #define TIME_WITH_SYS_TIME 1 | #define STRING_WITH_STRINGS 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDDEF_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_TIME_H 1 | #define HAVE_ICONV_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_DIRECT_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_CLOCK 1 | #define HAVE_ATOLL 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_SETLOCALE 1 | #define HAVE_WORKING_MBSTOWCS 1 | #define caddr_t char * | #define vfork fork | #define HAVE_ICONV 1 | #define ICONV_CONST const | #define HAVE_DECL_GETENV 1 | #define HAVE_DECL_ATOL 1 | #define HAVE_DECL_ASPRINTF 0 | #define HAVE_DECL_SBRK 0 | #define HAVE_DECL_ABORT 1 | #define HAVE_DECL_ATOF 1 | #define HAVE_DECL_GETCWD 1 | #define HAVE_DECL_GETWD 0 | #define HAVE_DECL_STRSIGNAL 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_DECL_STRVERSCMP 0 | #define HAVE_DECL_ERRNO 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_VASPRINTF 0 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_CALLOC 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_BASENAME 0 | #define HAVE_DECL_GETOPT 0 | #define HAVE_DECL_CLOCK 1 | #define HAVE_DECL_GETPAGESIZE 0 | #define HAVE_DECL_CLEARERR_UNLOCKED 0 | #define HAVE_DECL_FEOF_UNLOCKED 0 | #define HAVE_DECL_FERROR_UNLOCKED 0 | #define HAVE_DECL_FFLUSH_UNLOCKED 0 | #define HAVE_DECL_FGETC_UNLOCKED 0 | #define HAVE_DECL_FGETS_UNLOCKED 0 | #define HAVE_DECL_FILENO_UNLOCKED 0 | #define HAVE_DECL_FPRINTF_UNLOCKED 0 | #define HAVE_DECL_FPUTC_UNLOCKED 0 | #define HAVE_DECL_FPUTS_UNLOCKED 0 | #define HAVE_DECL_FREAD_UNLOCKED 0 | #define HAVE_DECL_FWRITE_UNLOCKED 0 | #define HAVE_DECL_GETCHAR_UNLOCKED 0 | #define HAVE_DECL_GETC_UNLOCKED 0 | #define HAVE_DECL_PUTCHAR_UNLOCKED 0 | #define HAVE_DECL_PUTC_UNLOCKED 0 | #define HAVE_DECL_GETRLIMIT 0 | #define HAVE_DECL_SETRLIMIT 0 | #define HAVE_DECL_GETRUSAGE 0 | #define rlim_t long | #define HAVE_DECL_LDGETNAME 0 | #define HAVE_DECL_TIMES 0 | #define HAVE_DECL_SIGALTSTACK 0 | #define HAVE_CLOCK_T 1 | #define HAVE_INITFINI_ARRAY 1 | #define MKDIR_TAKES_ONE_ARG 1 | #define HAVE_GETIPINFO 1 | #define NEED_64BIT_HOST_WIDE_INT 1 | #define DEFAULT_USE_CXA_ATEXIT 2 | #define EXTRA_MODES_FILE "config/i386/i386-modes.def" | #define ENABLE_NLS 1 | #define ENABLE_WIN32_REGISTRY 1 | #define HAVE_DLFCN_H 1 | /* end confdefs.h. */ | #ifdef __STDC__ | # include <limits.h> | #else | # include <assert.h> | #endif | Syntax error configure:13344: /home/Peter/gcc-trunk/build2/./prev-gcc/g++ -B/home/Peter/gcc-trunk/build2/./prev-gcc/ -B/usr/system64/x86_64-w64-mingw32/bin/ -nostdinc++ -I/home/Peter/gcc-trunk/build2/prev-x86_64-w64-mingw32/libstdc++-v3/include/x86_64-w64-mingw32 -I/home/Peter/gcc-trunk/build2/prev-x86_64-w64-mingw32/libstdc++-v3/include -I/home/Peter/gcc-trunk/build2/../libstdc++-v3/libsupc++ -L/home/Peter/gcc-trunk/build2/prev-x86_64-w64-mingw32/libstdc++-v3/src/.libs -E conftest.cpp /home/Peter/gcc-trunk/gcc/configure: line 2543: /home/Peter/gcc-trunk/build2/./prev-gcc/g++: No such file or directory configure:13344: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define HAVE_GNU_LD 0 | #define HAVE_GNU_AS 0 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define SIZEOF_VOID_P 8 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE___INT64 1 | #define SIZEOF___INT64 8 | #define ENABLE_CHECKING 1 | #define ENABLE_ASSERT_CHECKING 1 | #define ENABLE_GIMPLE_CHECKING 1 | #define ENABLE_RUNTIME_CHECKING 1 | #define ENABLE_TREE_CHECKING 1 | #define ENABLE_TYPES_CHECKING 1 | #define ENABLE_RTL_FLAG_CHECKING 1 | #define ENABLE_GC_CHECKING 1 | #define ENABLE_DECIMAL_FLOAT 0 | #define ENABLE_DECIMAL_BID_FORMAT 0 | #define ENABLE_FIXED_POINT 0 | #define STDC_HEADERS 1 | #define TIME_WITH_SYS_TIME 1 | #define STRING_WITH_STRINGS 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDDEF_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_TIME_H 1 | #define HAVE_ICONV_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_DIRECT_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_CLOCK 1 | #define HAVE_ATOLL 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_SETLOCALE 1 | #define HAVE_WORKING_MBSTOWCS 1 | #define caddr_t char * | #define vfork fork | #define HAVE_ICONV 1 | #define ICONV_CONST const | #define HAVE_DECL_GETENV 1 | #define HAVE_DECL_ATOL 1 | #define HAVE_DECL_ASPRINTF 0 | #define HAVE_DECL_SBRK 0 | #define HAVE_DECL_ABORT 1 | #define HAVE_DECL_ATOF 1 | #define HAVE_DECL_GETCWD 1 | #define HAVE_DECL_GETWD 0 | #define HAVE_DECL_STRSIGNAL 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_DECL_STRVERSCMP 0 | #define HAVE_DECL_ERRNO 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_VASPRINTF 0 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_CALLOC 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_BASENAME 0 | #define HAVE_DECL_GETOPT 0 | #define HAVE_DECL_CLOCK 1 | #define HAVE_DECL_GETPAGESIZE 0 | #define HAVE_DECL_CLEARERR_UNLOCKED 0 | #define HAVE_DECL_FEOF_UNLOCKED 0 | #define HAVE_DECL_FERROR_UNLOCKED 0 | #define HAVE_DECL_FFLUSH_UNLOCKED 0 | #define HAVE_DECL_FGETC_UNLOCKED 0 | #define HAVE_DECL_FGETS_UNLOCKED 0 | #define HAVE_DECL_FILENO_UNLOCKED 0 | #define HAVE_DECL_FPRINTF_UNLOCKED 0 | #define HAVE_DECL_FPUTC_UNLOCKED 0 | #define HAVE_DECL_FPUTS_UNLOCKED 0 | #define HAVE_DECL_FREAD_UNLOCKED 0 | #define HAVE_DECL_FWRITE_UNLOCKED 0 | #define HAVE_DECL_GETCHAR_UNLOCKED 0 | #define HAVE_DECL_GETC_UNLOCKED 0 | #define HAVE_DECL_PUTCHAR_UNLOCKED 0 | #define HAVE_DECL_PUTC_UNLOCKED 0 | #define HAVE_DECL_GETRLIMIT 0 | #define HAVE_DECL_SETRLIMIT 0 | #define HAVE_DECL_GETRUSAGE 0 | #define rlim_t long | #define HAVE_DECL_LDGETNAME 0 | #define HAVE_DECL_TIMES 0 | #define HAVE_DECL_SIGALTSTACK 0 | #define HAVE_CLOCK_T 1 | #define HAVE_INITFINI_ARRAY 1 | #define MKDIR_TAKES_ONE_ARG 1 | #define HAVE_GETIPINFO 1 | #define NEED_64BIT_HOST_WIDE_INT 1 | #define DEFAULT_USE_CXA_ATEXIT 2 | #define EXTRA_MODES_FILE "config/i386/i386-modes.def" | #define ENABLE_NLS 1 | #define ENABLE_WIN32_REGISTRY 1 | #define HAVE_DLFCN_H 1 | /* end confdefs.h. */ | #ifdef __STDC__ | # include <limits.h> | #else | # include <assert.h> | #endif | Syntax error configure:13344: /lib/cpp conftest.cpp /home/Peter/gcc-trunk/gcc/configure: line 2543: /lib/cpp: No such file or directory configure:13344: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define HAVE_GNU_LD 0 | #define HAVE_GNU_AS 0 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define SIZEOF_VOID_P 8 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE___INT64 1 | #define SIZEOF___INT64 8 | #define ENABLE_CHECKING 1 | #define ENABLE_ASSERT_CHECKING 1 | #define ENABLE_GIMPLE_CHECKING 1 | #define ENABLE_RUNTIME_CHECKING 1 | #define ENABLE_TREE_CHECKING 1 | #define ENABLE_TYPES_CHECKING 1 | #define ENABLE_RTL_FLAG_CHECKING 1 | #define ENABLE_GC_CHECKING 1 | #define ENABLE_DECIMAL_FLOAT 0 | #define ENABLE_DECIMAL_BID_FORMAT 0 | #define ENABLE_FIXED_POINT 0 | #define STDC_HEADERS 1 | #define TIME_WITH_SYS_TIME 1 | #define STRING_WITH_STRINGS 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDDEF_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_TIME_H 1 | #define HAVE_ICONV_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_DIRECT_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_CLOCK 1 | #define HAVE_ATOLL 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_SETLOCALE 1 | #define HAVE_WORKING_MBSTOWCS 1 | #define caddr_t char * | #define vfork fork | #define HAVE_ICONV 1 | #define ICONV_CONST const | #define HAVE_DECL_GETENV 1 | #define HAVE_DECL_ATOL 1 | #define HAVE_DECL_ASPRINTF 0 | #define HAVE_DECL_SBRK 0 | #define HAVE_DECL_ABORT 1 | #define HAVE_DECL_ATOF 1 | #define HAVE_DECL_GETCWD 1 | #define HAVE_DECL_GETWD 0 | #define HAVE_DECL_STRSIGNAL 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_DECL_STRVERSCMP 0 | #define HAVE_DECL_ERRNO 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_VASPRINTF 0 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_CALLOC 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_BASENAME 0 | #define HAVE_DECL_GETOPT 0 | #define HAVE_DECL_CLOCK 1 | #define HAVE_DECL_GETPAGESIZE 0 | #define HAVE_DECL_CLEARERR_UNLOCKED 0 | #define HAVE_DECL_FEOF_UNLOCKED 0 | #define HAVE_DECL_FERROR_UNLOCKED 0 | #define HAVE_DECL_FFLUSH_UNLOCKED 0 | #define HAVE_DECL_FGETC_UNLOCKED 0 | #define HAVE_DECL_FGETS_UNLOCKED 0 | #define HAVE_DECL_FILENO_UNLOCKED 0 | #define HAVE_DECL_FPRINTF_UNLOCKED 0 | #define HAVE_DECL_FPUTC_UNLOCKED 0 | #define HAVE_DECL_FPUTS_UNLOCKED 0 | #define HAVE_DECL_FREAD_UNLOCKED 0 | #define HAVE_DECL_FWRITE_UNLOCKED 0 | #define HAVE_DECL_GETCHAR_UNLOCKED 0 | #define HAVE_DECL_GETC_UNLOCKED 0 | #define HAVE_DECL_PUTCHAR_UNLOCKED 0 | #define HAVE_DECL_PUTC_UNLOCKED 0 | #define HAVE_DECL_GETRLIMIT 0 | #define HAVE_DECL_SETRLIMIT 0 | #define HAVE_DECL_GETRUSAGE 0 | #define rlim_t long | #define HAVE_DECL_LDGETNAME 0 | #define HAVE_DECL_TIMES 0 | #define HAVE_DECL_SIGALTSTACK 0 | #define HAVE_CLOCK_T 1 | #define HAVE_INITFINI_ARRAY 1 | #define MKDIR_TAKES_ONE_ARG 1 | #define HAVE_GETIPINFO 1 | #define NEED_64BIT_HOST_WIDE_INT 1 | #define DEFAULT_USE_CXA_ATEXIT 2 | #define EXTRA_MODES_FILE "config/i386/i386-modes.def" | #define ENABLE_NLS 1 | #define ENABLE_WIN32_REGISTRY 1 | #define HAVE_DLFCN_H 1 | /* end confdefs.h. */ | #ifdef __STDC__ | # include <limits.h> | #else | # include <assert.h> | #endif | Syntax error configure:13344: /lib/cpp conftest.cpp /home/Peter/gcc-trunk/gcc/configure: line 2543: /lib/cpp: No such file or directory configure:13344: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define HAVE_GNU_LD 0 | #define HAVE_GNU_AS 0 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define SIZEOF_VOID_P 8 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE___INT64 1 | #define SIZEOF___INT64 8 | #define ENABLE_CHECKING 1 | #define ENABLE_ASSERT_CHECKING 1 | #define ENABLE_GIMPLE_CHECKING 1 | #define ENABLE_RUNTIME_CHECKING 1 | #define ENABLE_TREE_CHECKING 1 | #define ENABLE_TYPES_CHECKING 1 | #define ENABLE_RTL_FLAG_CHECKING 1 | #define ENABLE_GC_CHECKING 1 | #define ENABLE_DECIMAL_FLOAT 0 | #define ENABLE_DECIMAL_BID_FORMAT 0 | #define ENABLE_FIXED_POINT 0 | #define STDC_HEADERS 1 | #define TIME_WITH_SYS_TIME 1 | #define STRING_WITH_STRINGS 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDDEF_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_TIME_H 1 | #define HAVE_ICONV_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_DIRECT_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_CLOCK 1 | #define HAVE_ATOLL 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_SETLOCALE 1 | #define HAVE_WORKING_MBSTOWCS 1 | #define caddr_t char * | #define vfork fork | #define HAVE_ICONV 1 | #define ICONV_CONST const | #define HAVE_DECL_GETENV 1 | #define HAVE_DECL_ATOL 1 | #define HAVE_DECL_ASPRINTF 0 | #define HAVE_DECL_SBRK 0 | #define HAVE_DECL_ABORT 1 | #define HAVE_DECL_ATOF 1 | #define HAVE_DECL_GETCWD 1 | #define HAVE_DECL_GETWD 0 | #define HAVE_DECL_STRSIGNAL 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_DECL_STRVERSCMP 0 | #define HAVE_DECL_ERRNO 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_VASPRINTF 0 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_CALLOC 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_BASENAME 0 | #define HAVE_DECL_GETOPT 0 | #define HAVE_DECL_CLOCK 1 | #define HAVE_DECL_GETPAGESIZE 0 | #define HAVE_DECL_CLEARERR_UNLOCKED 0 | #define HAVE_DECL_FEOF_UNLOCKED 0 | #define HAVE_DECL_FERROR_UNLOCKED 0 | #define HAVE_DECL_FFLUSH_UNLOCKED 0 | #define HAVE_DECL_FGETC_UNLOCKED 0 | #define HAVE_DECL_FGETS_UNLOCKED 0 | #define HAVE_DECL_FILENO_UNLOCKED 0 | #define HAVE_DECL_FPRINTF_UNLOCKED 0 | #define HAVE_DECL_FPUTC_UNLOCKED 0 | #define HAVE_DECL_FPUTS_UNLOCKED 0 | #define HAVE_DECL_FREAD_UNLOCKED 0 | #define HAVE_DECL_FWRITE_UNLOCKED 0 | #define HAVE_DECL_GETCHAR_UNLOCKED 0 | #define HAVE_DECL_GETC_UNLOCKED 0 | #define HAVE_DECL_PUTCHAR_UNLOCKED 0 | #define HAVE_DECL_PUTC_UNLOCKED 0 | #define HAVE_DECL_GETRLIMIT 0 | #define HAVE_DECL_SETRLIMIT 0 | #define HAVE_DECL_GETRUSAGE 0 | #define rlim_t long | #define HAVE_DECL_LDGETNAME 0 | #define HAVE_DECL_TIMES 0 | #define HAVE_DECL_SIGALTSTACK 0 | #define HAVE_CLOCK_T 1 | #define HAVE_INITFINI_ARRAY 1 | #define MKDIR_TAKES_ONE_ARG 1 | #define HAVE_GETIPINFO 1 | #define NEED_64BIT_HOST_WIDE_INT 1 | #define DEFAULT_USE_CXA_ATEXIT 2 | #define EXTRA_MODES_FILE "config/i386/i386-modes.def" | #define ENABLE_NLS 1 | #define ENABLE_WIN32_REGISTRY 1 | #define HAVE_DLFCN_H 1 | /* end confdefs.h. */ | #ifdef __STDC__ | # include <limits.h> | #else | # include <assert.h> | #endif | Syntax error configure:13383: result: /lib/cpp configure:13403: /lib/cpp conftest.cpp /home/Peter/gcc-trunk/gcc/configure: line 2543: /lib/cpp: No such file or directory configure:13403: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define HAVE_GNU_LD 0 | #define HAVE_GNU_AS 0 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define SIZEOF_VOID_P 8 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE___INT64 1 | #define SIZEOF___INT64 8 | #define ENABLE_CHECKING 1 | #define ENABLE_ASSERT_CHECKING 1 | #define ENABLE_GIMPLE_CHECKING 1 | #define ENABLE_RUNTIME_CHECKING 1 | #define ENABLE_TREE_CHECKING 1 | #define ENABLE_TYPES_CHECKING 1 | #define ENABLE_RTL_FLAG_CHECKING 1 | #define ENABLE_GC_CHECKING 1 | #define ENABLE_DECIMAL_FLOAT 0 | #define ENABLE_DECIMAL_BID_FORMAT 0 | #define ENABLE_FIXED_POINT 0 | #define STDC_HEADERS 1 | #define TIME_WITH_SYS_TIME 1 | #define STRING_WITH_STRINGS 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDDEF_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_TIME_H 1 | #define HAVE_ICONV_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_DIRECT_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_CLOCK 1 | #define HAVE_ATOLL 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_SETLOCALE 1 | #define HAVE_WORKING_MBSTOWCS 1 | #define caddr_t char * | #define vfork fork | #define HAVE_ICONV 1 | #define ICONV_CONST const | #define HAVE_DECL_GETENV 1 | #define HAVE_DECL_ATOL 1 | #define HAVE_DECL_ASPRINTF 0 | #define HAVE_DECL_SBRK 0 | #define HAVE_DECL_ABORT 1 | #define HAVE_DECL_ATOF 1 | #define HAVE_DECL_GETCWD 1 | #define HAVE_DECL_GETWD 0 | #define HAVE_DECL_STRSIGNAL 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_DECL_STRVERSCMP 0 | #define HAVE_DECL_ERRNO 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_VASPRINTF 0 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_CALLOC 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_BASENAME 0 | #define HAVE_DECL_GETOPT 0 | #define HAVE_DECL_CLOCK 1 | #define HAVE_DECL_GETPAGESIZE 0 | #define HAVE_DECL_CLEARERR_UNLOCKED 0 | #define HAVE_DECL_FEOF_UNLOCKED 0 | #define HAVE_DECL_FERROR_UNLOCKED 0 | #define HAVE_DECL_FFLUSH_UNLOCKED 0 | #define HAVE_DECL_FGETC_UNLOCKED 0 | #define HAVE_DECL_FGETS_UNLOCKED 0 | #define HAVE_DECL_FILENO_UNLOCKED 0 | #define HAVE_DECL_FPRINTF_UNLOCKED 0 | #define HAVE_DECL_FPUTC_UNLOCKED 0 | #define HAVE_DECL_FPUTS_UNLOCKED 0 | #define HAVE_DECL_FREAD_UNLOCKED 0 | #define HAVE_DECL_FWRITE_UNLOCKED 0 | #define HAVE_DECL_GETCHAR_UNLOCKED 0 | #define HAVE_DECL_GETC_UNLOCKED 0 | #define HAVE_DECL_PUTCHAR_UNLOCKED 0 | #define HAVE_DECL_PUTC_UNLOCKED 0 | #define HAVE_DECL_GETRLIMIT 0 | #define HAVE_DECL_SETRLIMIT 0 | #define HAVE_DECL_GETRUSAGE 0 | #define rlim_t long | #define HAVE_DECL_LDGETNAME 0 | #define HAVE_DECL_TIMES 0 | #define HAVE_DECL_SIGALTSTACK 0 | #define HAVE_CLOCK_T 1 | #define HAVE_INITFINI_ARRAY 1 | #define MKDIR_TAKES_ONE_ARG 1 | #define HAVE_GETIPINFO 1 | #define NEED_64BIT_HOST_WIDE_INT 1 | #define DEFAULT_USE_CXA_ATEXIT 2 | #define EXTRA_MODES_FILE "config/i386/i386-modes.def" | #define ENABLE_NLS 1 | #define ENABLE_WIN32_REGISTRY 1 | #define HAVE_DLFCN_H 1 | /* end confdefs.h. */ | #ifdef __STDC__ | # include <limits.h> | #else | # include <assert.h> | #endif | Syntax error configure:13403: /lib/cpp conftest.cpp /home/Peter/gcc-trunk/gcc/configure: line 2543: /lib/cpp: No such file or directory configure:13403: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define HAVE_GNU_LD 0 | #define HAVE_GNU_AS 0 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define SIZEOF_VOID_P 8 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE___INT64 1 | #define SIZEOF___INT64 8 | #define ENABLE_CHECKING 1 | #define ENABLE_ASSERT_CHECKING 1 | #define ENABLE_GIMPLE_CHECKING 1 | #define ENABLE_RUNTIME_CHECKING 1 | #define ENABLE_TREE_CHECKING 1 | #define ENABLE_TYPES_CHECKING 1 | #define ENABLE_RTL_FLAG_CHECKING 1 | #define ENABLE_GC_CHECKING 1 | #define ENABLE_DECIMAL_FLOAT 0 | #define ENABLE_DECIMAL_BID_FORMAT 0 | #define ENABLE_FIXED_POINT 0 | #define STDC_HEADERS 1 | #define TIME_WITH_SYS_TIME 1 | #define STRING_WITH_STRINGS 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDDEF_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_TIME_H 1 | #define HAVE_ICONV_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_DIRECT_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_CLOCK 1 | #define HAVE_ATOLL 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_SETLOCALE 1 | #define HAVE_WORKING_MBSTOWCS 1 | #define caddr_t char * | #define vfork fork | #define HAVE_ICONV 1 | #define ICONV_CONST const | #define HAVE_DECL_GETENV 1 | #define HAVE_DECL_ATOL 1 | #define HAVE_DECL_ASPRINTF 0 | #define HAVE_DECL_SBRK 0 | #define HAVE_DECL_ABORT 1 | #define HAVE_DECL_ATOF 1 | #define HAVE_DECL_GETCWD 1 | #define HAVE_DECL_GETWD 0 | #define HAVE_DECL_STRSIGNAL 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_DECL_STRVERSCMP 0 | #define HAVE_DECL_ERRNO 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_VASPRINTF 0 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_CALLOC 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_BASENAME 0 | #define HAVE_DECL_GETOPT 0 | #define HAVE_DECL_CLOCK 1 | #define HAVE_DECL_GETPAGESIZE 0 | #define HAVE_DECL_CLEARERR_UNLOCKED 0 | #define HAVE_DECL_FEOF_UNLOCKED 0 | #define HAVE_DECL_FERROR_UNLOCKED 0 | #define HAVE_DECL_FFLUSH_UNLOCKED 0 | #define HAVE_DECL_FGETC_UNLOCKED 0 | #define HAVE_DECL_FGETS_UNLOCKED 0 | #define HAVE_DECL_FILENO_UNLOCKED 0 | #define HAVE_DECL_FPRINTF_UNLOCKED 0 | #define HAVE_DECL_FPUTC_UNLOCKED 0 | #define HAVE_DECL_FPUTS_UNLOCKED 0 | #define HAVE_DECL_FREAD_UNLOCKED 0 | #define HAVE_DECL_FWRITE_UNLOCKED 0 | #define HAVE_DECL_GETCHAR_UNLOCKED 0 | #define HAVE_DECL_GETC_UNLOCKED 0 | #define HAVE_DECL_PUTCHAR_UNLOCKED 0 | #define HAVE_DECL_PUTC_UNLOCKED 0 | #define HAVE_DECL_GETRLIMIT 0 | #define HAVE_DECL_SETRLIMIT 0 | #define HAVE_DECL_GETRUSAGE 0 | #define rlim_t long | #define HAVE_DECL_LDGETNAME 0 | #define HAVE_DECL_TIMES 0 | #define HAVE_DECL_SIGALTSTACK 0 | #define HAVE_CLOCK_T 1 | #define HAVE_INITFINI_ARRAY 1 | #define MKDIR_TAKES_ONE_ARG 1 | #define HAVE_GETIPINFO 1 | #define NEED_64BIT_HOST_WIDE_INT 1 | #define DEFAULT_USE_CXA_ATEXIT 2 | #define EXTRA_MODES_FILE "config/i386/i386-modes.def" | #define ENABLE_NLS 1 | #define ENABLE_WIN32_REGISTRY 1 | #define HAVE_DLFCN_H 1 | /* end confdefs.h. */ | #ifdef __STDC__ | # include <limits.h> | #else | # include <assert.h> | #endif | Syntax error configure:13433: error: in `/home/Peter/gcc-trunk/build2/gcc': configure:13623: checking for objdir configure:13638: result: .libs Stage1: configure:13188: checking whether we are using the GNU C++ compiler configure:13216: result: yes configure:13225: checking whether x86_64-w64-mingw32-g++ accepts -g configure:13286: result: yes configure:13317: checking how to run the C++ preprocessor configure:13344: x86_64-w64-mingw32-g++ -E conftest.cpp configure:13344: $? = 0 configure:13358: x86_64-w64-mingw32-g++ -E conftest.cpp conftest.cpp:132:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:13358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define HAVE_GNU_LD 0 | #define HAVE_GNU_AS 0 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define SIZEOF_VOID_P 8 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE___INT64 1 | #define SIZEOF___INT64 8 | #define ENABLE_CHECKING 1 | #define ENABLE_ASSERT_CHECKING 1 | #define ENABLE_GIMPLE_CHECKING 1 | #define ENABLE_RUNTIME_CHECKING 1 | #define ENABLE_TREE_CHECKING 1 | #define ENABLE_TYPES_CHECKING 1 | #define ENABLE_RTL_FLAG_CHECKING 1 | #define ENABLE_GC_CHECKING 1 | #define ENABLE_DECIMAL_FLOAT 0 | #define ENABLE_DECIMAL_BID_FORMAT 0 | #define ENABLE_FIXED_POINT 0 | #define STDC_HEADERS 1 | #define TIME_WITH_SYS_TIME 1 | #define STRING_WITH_STRINGS 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDDEF_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_TIME_H 1 | #define HAVE_ICONV_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_DIRECT_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_CLOCK 1 | #define HAVE_ATOLL 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_SETLOCALE 1 | #define HAVE_WORKING_MBSTOWCS 1 | #define caddr_t char * | #define vfork fork | #define HAVE_ICONV 1 | #define ICONV_CONST const | #define HAVE_DECL_GETENV 1 | #define HAVE_DECL_ATOL 1 | #define HAVE_DECL_ASPRINTF 0 | #define HAVE_DECL_SBRK 0 | #define HAVE_DECL_ABORT 1 | #define HAVE_DECL_ATOF 1 | #define HAVE_DECL_GETCWD 1 | #define HAVE_DECL_GETWD 0 | #define HAVE_DECL_STRSIGNAL 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_DECL_STRVERSCMP 0 | #define HAVE_DECL_ERRNO 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_VASPRINTF 0 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_CALLOC 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_BASENAME 0 | #define HAVE_DECL_GETOPT 0 | #define HAVE_DECL_CLOCK 1 | #define HAVE_DECL_GETPAGESIZE 0 | #define HAVE_DECL_CLEARERR_UNLOCKED 0 | #define HAVE_DECL_FEOF_UNLOCKED 0 | #define HAVE_DECL_FERROR_UNLOCKED 0 | #define HAVE_DECL_FFLUSH_UNLOCKED 0 | #define HAVE_DECL_FGETC_UNLOCKED 0 | #define HAVE_DECL_FGETS_UNLOCKED 0 | #define HAVE_DECL_FILENO_UNLOCKED 0 | #define HAVE_DECL_FPRINTF_UNLOCKED 0 | #define HAVE_DECL_FPUTC_UNLOCKED 0 | #define HAVE_DECL_FPUTS_UNLOCKED 0 | #define HAVE_DECL_FREAD_UNLOCKED 0 | #define HAVE_DECL_FWRITE_UNLOCKED 0 | #define HAVE_DECL_GETCHAR_UNLOCKED 0 | #define HAVE_DECL_GETC_UNLOCKED 0 | #define HAVE_DECL_PUTCHAR_UNLOCKED 0 | #define HAVE_DECL_PUTC_UNLOCKED 0 | #define HAVE_DECL_GETRLIMIT 0 | #define HAVE_DECL_SETRLIMIT 0 | #define HAVE_DECL_GETRUSAGE 0 | #define rlim_t long | #define HAVE_DECL_LDGETNAME 0 | #define HAVE_DECL_TIMES 0 | #define HAVE_DECL_SIGALTSTACK 0 | #define HAVE_CLOCK_T 1 | #define HAVE_INITFINI_ARRAY 1 | #define MKDIR_TAKES_ONE_ARG 1 | #define HAVE_GETIPINFO 1 | #define NEED_64BIT_HOST_WIDE_INT 1 | #define DEFAULT_USE_CXA_ATEXIT 2 | #define EXTRA_MODES_FILE "config/i386/i386-modes.def" | #define ENABLE_NLS 1 | #define ENABLE_WIN32_REGISTRY 1 | #define HAVE_DLFCN_H 1 | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:13383: result: x86_64-w64-mingw32-g++ -E configure:13403: x86_64-w64-mingw32-g++ -E conftest.cpp configure:13403: $? = 0 configure:13417: x86_64-w64-mingw32-g++ -E conftest.cpp conftest.cpp:132:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:13417: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define HAVE_GNU_LD 0 | #define HAVE_GNU_AS 0 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define SIZEOF_VOID_P 8 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE___INT64 1 | #define SIZEOF___INT64 8 | #define ENABLE_CHECKING 1 | #define ENABLE_ASSERT_CHECKING 1 | #define ENABLE_GIMPLE_CHECKING 1 | #define ENABLE_RUNTIME_CHECKING 1 | #define ENABLE_TREE_CHECKING 1 | #define ENABLE_TYPES_CHECKING 1 | #define ENABLE_RTL_FLAG_CHECKING 1 | #define ENABLE_GC_CHECKING 1 | #define ENABLE_DECIMAL_FLOAT 0 | #define ENABLE_DECIMAL_BID_FORMAT 0 | #define ENABLE_FIXED_POINT 0 | #define STDC_HEADERS 1 | #define TIME_WITH_SYS_TIME 1 | #define STRING_WITH_STRINGS 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDDEF_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_TIME_H 1 | #define HAVE_ICONV_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_DIRECT_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_CLOCK 1 | #define HAVE_ATOLL 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_SETLOCALE 1 | #define HAVE_WORKING_MBSTOWCS 1 | #define caddr_t char * | #define vfork fork | #define HAVE_ICONV 1 | #define ICONV_CONST const | #define HAVE_DECL_GETENV 1 | #define HAVE_DECL_ATOL 1 | #define HAVE_DECL_ASPRINTF 0 | #define HAVE_DECL_SBRK 0 | #define HAVE_DECL_ABORT 1 | #define HAVE_DECL_ATOF 1 | #define HAVE_DECL_GETCWD 1 | #define HAVE_DECL_GETWD 0 | #define HAVE_DECL_STRSIGNAL 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_DECL_STRVERSCMP 0 | #define HAVE_DECL_ERRNO 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_VASPRINTF 0 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_CALLOC 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_BASENAME 0 | #define HAVE_DECL_GETOPT 0 | #define HAVE_DECL_CLOCK 1 | #define HAVE_DECL_GETPAGESIZE 0 | #define HAVE_DECL_CLEARERR_UNLOCKED 0 | #define HAVE_DECL_FEOF_UNLOCKED 0 | #define HAVE_DECL_FERROR_UNLOCKED 0 | #define HAVE_DECL_FFLUSH_UNLOCKED 0 | #define HAVE_DECL_FGETC_UNLOCKED 0 | #define HAVE_DECL_FGETS_UNLOCKED 0 | #define HAVE_DECL_FILENO_UNLOCKED 0 | #define HAVE_DECL_FPRINTF_UNLOCKED 0 | #define HAVE_DECL_FPUTC_UNLOCKED 0 | #define HAVE_DECL_FPUTS_UNLOCKED 0 | #define HAVE_DECL_FREAD_UNLOCKED 0 | #define HAVE_DECL_FWRITE_UNLOCKED 0 | #define HAVE_DECL_GETCHAR_UNLOCKED 0 | #define HAVE_DECL_GETC_UNLOCKED 0 | #define HAVE_DECL_PUTCHAR_UNLOCKED 0 | #define HAVE_DECL_PUTC_UNLOCKED 0 | #define HAVE_DECL_GETRLIMIT 0 | #define HAVE_DECL_SETRLIMIT 0 | #define HAVE_DECL_GETRUSAGE 0 | #define rlim_t long | #define HAVE_DECL_LDGETNAME 0 | #define HAVE_DECL_TIMES 0 | #define HAVE_DECL_SIGALTSTACK 0 | #define HAVE_CLOCK_T 1 | #define HAVE_INITFINI_ARRAY 1 | #define MKDIR_TAKES_ONE_ARG 1 | #define HAVE_GETIPINFO 1 | #define NEED_64BIT_HOST_WIDE_INT 1 | #define DEFAULT_USE_CXA_ATEXIT 2 | #define EXTRA_MODES_FILE "config/i386/i386-modes.def" | #define ENABLE_NLS 1 | #define ENABLE_WIN32_REGISTRY 1 | #define HAVE_DLFCN_H 1 | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:13623: checking for objdir configure:13638: result: .libs The Stage 1 successful log: configure:13188: checking whether we are using the GNU C++ compiler configure:13216: result: yes configure:13225: checking whether x86_64-w64-mingw32-g++ accepts -g configure:13286: result: yes configure:13317: checking how to run the C++ preprocessor configure:13344: x86_64-w64-mingw32-g++ -E conftest.cpp configure:13344: $? = 0 configure:13358: x86_64-w64-mingw32-g++ -E conftest.cpp conftest.cpp:132:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:13358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define HAVE_GNU_LD 0 | #define HAVE_GNU_AS 0 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define SIZEOF_VOID_P 8 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE___INT64 1 | #define SIZEOF___INT64 8 | #define ENABLE_CHECKING 1 | #define ENABLE_ASSERT_CHECKING 1 | #define ENABLE_GIMPLE_CHECKING 1 | #define ENABLE_RUNTIME_CHECKING 1 | #define ENABLE_TREE_CHECKING 1 | #define ENABLE_TYPES_CHECKING 1 | #define ENABLE_RTL_FLAG_CHECKING 1 | #define ENABLE_GC_CHECKING 1 | #define ENABLE_DECIMAL_FLOAT 0 | #define ENABLE_DECIMAL_BID_FORMAT 0 | #define ENABLE_FIXED_POINT 0 | #define STDC_HEADERS 1 | #define TIME_WITH_SYS_TIME 1 | #define STRING_WITH_STRINGS 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDDEF_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_TIME_H 1 | #define HAVE_ICONV_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_DIRECT_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_CLOCK 1 | #define HAVE_ATOLL 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_SETLOCALE 1 | #define HAVE_WORKING_MBSTOWCS 1 | #define caddr_t char * | #define vfork fork | #define HAVE_ICONV 1 | #define ICONV_CONST const | #define HAVE_DECL_GETENV 1 | #define HAVE_DECL_ATOL 1 | #define HAVE_DECL_ASPRINTF 0 | #define HAVE_DECL_SBRK 0 | #define HAVE_DECL_ABORT 1 | #define HAVE_DECL_ATOF 1 | #define HAVE_DECL_GETCWD 1 | #define HAVE_DECL_GETWD 0 | #define HAVE_DECL_STRSIGNAL 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_DECL_STRVERSCMP 0 | #define HAVE_DECL_ERRNO 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_VASPRINTF 0 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_CALLOC 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_BASENAME 0 | #define HAVE_DECL_GETOPT 0 | #define HAVE_DECL_CLOCK 1 | #define HAVE_DECL_GETPAGESIZE 0 | #define HAVE_DECL_CLEARERR_UNLOCKED 0 | #define HAVE_DECL_FEOF_UNLOCKED 0 | #define HAVE_DECL_FERROR_UNLOCKED 0 | #define HAVE_DECL_FFLUSH_UNLOCKED 0 | #define HAVE_DECL_FGETC_UNLOCKED 0 | #define HAVE_DECL_FGETS_UNLOCKED 0 | #define HAVE_DECL_FILENO_UNLOCKED 0 | #define HAVE_DECL_FPRINTF_UNLOCKED 0 | #define HAVE_DECL_FPUTC_UNLOCKED 0 | #define HAVE_DECL_FPUTS_UNLOCKED 0 | #define HAVE_DECL_FREAD_UNLOCKED 0 | #define HAVE_DECL_FWRITE_UNLOCKED 0 | #define HAVE_DECL_GETCHAR_UNLOCKED 0 | #define HAVE_DECL_GETC_UNLOCKED 0 | #define HAVE_DECL_PUTCHAR_UNLOCKED 0 | #define HAVE_DECL_PUTC_UNLOCKED 0 | #define HAVE_DECL_GETRLIMIT 0 | #define HAVE_DECL_SETRLIMIT 0 | #define HAVE_DECL_GETRUSAGE 0 | #define rlim_t long | #define HAVE_DECL_LDGETNAME 0 | #define HAVE_DECL_TIMES 0 | #define HAVE_DECL_SIGALTSTACK 0 | #define HAVE_CLOCK_T 1 | #define HAVE_INITFINI_ARRAY 1 | #define MKDIR_TAKES_ONE_ARG 1 | #define HAVE_GETIPINFO 1 | #define NEED_64BIT_HOST_WIDE_INT 1 | #define DEFAULT_USE_CXA_ATEXIT 2 | #define EXTRA_MODES_FILE "config/i386/i386-modes.def" | #define ENABLE_NLS 1 | #define ENABLE_WIN32_REGISTRY 1 | #define HAVE_DLFCN_H 1 | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:13383: result: x86_64-w64-mingw32-g++ -E configure:13403: x86_64-w64-mingw32-g++ -E conftest.cpp configure:13403: $? = 0 configure:13417: x86_64-w64-mingw32-g++ -E conftest.cpp conftest.cpp:132:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:13417: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define HAVE_GNU_LD 0 | #define HAVE_GNU_AS 0 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define SIZEOF_VOID_P 8 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE___INT64 1 | #define SIZEOF___INT64 8 | #define ENABLE_CHECKING 1 | #define ENABLE_ASSERT_CHECKING 1 | #define ENABLE_GIMPLE_CHECKING 1 | #define ENABLE_RUNTIME_CHECKING 1 | #define ENABLE_TREE_CHECKING 1 | #define ENABLE_TYPES_CHECKING 1 | #define ENABLE_RTL_FLAG_CHECKING 1 | #define ENABLE_GC_CHECKING 1 | #define ENABLE_DECIMAL_FLOAT 0 | #define ENABLE_DECIMAL_BID_FORMAT 0 | #define ENABLE_FIXED_POINT 0 | #define STDC_HEADERS 1 | #define TIME_WITH_SYS_TIME 1 | #define STRING_WITH_STRINGS 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDDEF_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_TIME_H 1 | #define HAVE_ICONV_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_DIRECT_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_CLOCK 1 | #define HAVE_ATOLL 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_MBSTOWCS 1 | #define HAVE_SETLOCALE 1 | #define HAVE_WORKING_MBSTOWCS 1 | #define caddr_t char * | #define vfork fork | #define HAVE_ICONV 1 | #define ICONV_CONST const | #define HAVE_DECL_GETENV 1 | #define HAVE_DECL_ATOL 1 | #define HAVE_DECL_ASPRINTF 0 | #define HAVE_DECL_SBRK 0 | #define HAVE_DECL_ABORT 1 | #define HAVE_DECL_ATOF 1 | #define HAVE_DECL_GETCWD 1 | #define HAVE_DECL_GETWD 0 | #define HAVE_DECL_STRSIGNAL 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_DECL_STRVERSCMP 0 | #define HAVE_DECL_ERRNO 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_VASPRINTF 0 | #define HAVE_DECL_MALLOC 1 | #define HAVE_DECL_REALLOC 1 | #define HAVE_DECL_CALLOC 1 | #define HAVE_DECL_FREE 1 | #define HAVE_DECL_BASENAME 0 | #define HAVE_DECL_GETOPT 0 | #define HAVE_DECL_CLOCK 1 | #define HAVE_DECL_GETPAGESIZE 0 | #define HAVE_DECL_CLEARERR_UNLOCKED 0 | #define HAVE_DECL_FEOF_UNLOCKED 0 | #define HAVE_DECL_FERROR_UNLOCKED 0 | #define HAVE_DECL_FFLUSH_UNLOCKED 0 | #define HAVE_DECL_FGETC_UNLOCKED 0 | #define HAVE_DECL_FGETS_UNLOCKED 0 | #define HAVE_DECL_FILENO_UNLOCKED 0 | #define HAVE_DECL_FPRINTF_UNLOCKED 0 | #define HAVE_DECL_FPUTC_UNLOCKED 0 | #define HAVE_DECL_FPUTS_UNLOCKED 0 | #define HAVE_DECL_FREAD_UNLOCKED 0 | #define HAVE_DECL_FWRITE_UNLOCKED 0 | #define HAVE_DECL_GETCHAR_UNLOCKED 0 | #define HAVE_DECL_GETC_UNLOCKED 0 | #define HAVE_DECL_PUTCHAR_UNLOCKED 0 | #define HAVE_DECL_PUTC_UNLOCKED 0 | #define HAVE_DECL_GETRLIMIT 0 | #define HAVE_DECL_SETRLIMIT 0 | #define HAVE_DECL_GETRUSAGE 0 | #define rlim_t long | #define HAVE_DECL_LDGETNAME 0 | #define HAVE_DECL_TIMES 0 | #define HAVE_DECL_SIGALTSTACK 0 | #define HAVE_CLOCK_T 1 | #define HAVE_INITFINI_ARRAY 1 | #define MKDIR_TAKES_ONE_ARG 1 | #define HAVE_GETIPINFO 1 | #define NEED_64BIT_HOST_WIDE_INT 1 | #define DEFAULT_USE_CXA_ATEXIT 2 | #define EXTRA_MODES_FILE "config/i386/i386-modes.def" | #define ENABLE_NLS 1 | #define ENABLE_WIN32_REGISTRY 1 | #define HAVE_DLFCN_H 1 | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:13623: checking for objdir configure:13638: result: .libs The configure script in question: # ac_fn_cxx_try_cpp LINENO # ------------------------ # Try to preprocess conftest.$ac_ext, and return whether this succeeded. ac_fn_cxx_try_cpp () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if { { ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } >/dev/null && { test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || test ! -s conftest.err }; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} return $ac_retval } # ac_fn_cxx_try_cpp (line 2543 is (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err ) Hope this is helpful. -- Summary: Configure fails to find non-existant g++ preprocessor flag with syntax errors Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: other AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: xenofears at gmail dot com GCC build triplet: i686-pc-msys GCC host triplet: x86_64-w64-mingw32 GCC target triplet: x86_64-w64-mingw32 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41234