On 3 August 2015 at 19:42, niXman wrote: > Jonathan Wakely 2015-08-03 18:51: >> >> It would help if you told us what options those are. > > > Hi, > > configure \ > --host=i686-w64-mingw32 \ > --build=i686-w64-mingw32 \ > --target=i686-w64-mingw32 \ > --prefix=/mingw32 \ > --with-sysroot=/c/mingw520/i686-520-win32-sjlj-rt_v4-rev0/mingw32 \ > --with-gxx-include-dir=/mingw32/i686-w64-mingw32/include/c++ \ > --enable-shared \ > --enable-static \ > --enable-targets=all \ > --enable-multilib \ > --enable-languages=c,c++,fortran,objc,obj-c++,lto \ > --enable-libstdcxx-time=yes \ > --enable-threads=win32 \ > --enable-libgomp \ > --enable-libatomic \ > --enable-lto \ > --enable-graphite \ > --enable-checking=release \ > --enable-fully-dynamic-string \ > --enable-version-specific-runtime-libs \ > --enable-sjlj-exceptions \ > --disable-isl-version-check \ > --disable-libstdcxx-pch \ > --disable-libstdcxx-debug \ > --enable-bootstrap \ > --disable-rpath \ > --disable-win32-registry \ > --disable-nls \ > --disable-werror \ > --disable-symvers \ > --with-gnu-as \ > --with-gnu-ld \ > --with-arch-32=i686 \ > --with-arch-64=nocona \ > --with-tune-32=generic \ > --with-tune-64=core2 \ > --with-libiconv \ > --with-system-zlib \ > --with-gmp=/c/mingw520/prerequisites/i686-w64-mingw32 \ > --with-mpfr=/c/mingw520/prerequisites/i686-w64-mingw32 \ > --with-mpc=/c/mingw520/prerequisites/i686-w64-mingw32 \ > --with-isl=/c/mingw520/prerequisites/i686-w64-mingw32 \ > --with-pkgversion=i686-win32-sjlj-rev0, Built by MinGW-W64 project \ > --with-bugurl=http://sourceforge.net/projects/mingw-w64 That should be OK. The command used by the configure test is: $CC $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS so have you set any of those environment variables?