I am trying to cross compile libiconv-1.13.1 for windows using mingw32. I have got a custom toolchain placed in /usr/i686-w64-mingw32/bin/ This is for the NetSurf browser project. I have set the paths to use this toolchain before calling configure: sudo CC="/usr/i686-w64-mingw32/bin/i686-w64-mingw32-gcc -B/usr/i686-w64-mingw32/bin/i686-w64-mingw32-ld" AR="/usr/i686-w64-mingw32/bin/i686-w64-mingw32-gcc-ar" RANLIB="/usr/i686-w64-mingw32/bin/i686-w64-mingw32-gcc-ranlib" CFLAGS="-I/usr/i686-w64-mingw32/i686-w64-mingw32/include -DNO_FSEEKO" LDFLAGS="-L/usr/i686-w64-mingw32/i686-w64-mingw32/lib" ./configure –prefix=/usr/i686-w64-mingw32/ –host=i686-w64-mingw32 –disable-shared So the configure finishedRead more