2012-10-19 Yaakov Selkowitz * bootstrap.sh: Add support for i686-w64-mingw32 toolchain. Remove support for gcc-3 -mno-cygwin. Index: bootstrap.sh =================================================================== RCS file: /cvs/cygwin-apps/setup/bootstrap.sh,v retrieving revision 2.7 diff -u -p -r2.7 bootstrap.sh --- bootstrap.sh 13 Sep 2012 03:45:01 -0000 2.7 +++ bootstrap.sh 19 Oct 2012 15:31:06 -0000 @@ -50,14 +50,14 @@ fi cd "$builddir" build=`$srcdir/cfgaux/config.guess` -host="i686-pc-mingw32" -if hash $host-g++ 2> /dev/null; then - CC="$host-gcc" - CXX="$host-g++" +if hash i686-w64-mingw32-g++ 2> /dev/null; then + host="i686-w64-mingw32" +elif hash i686-pc-mingw32-g++ 2> /dev/null; then + host="i686-pc-mingw32" else - CC="gcc-3 -mno-cygwin" - CXX="g++-3 -mno-cygwin" + echo "mingw32-target g++ required for building setup" + exit 1 fi echo "running configure"