[PATCH setup 1/2] Update boostrap.sh to check for x86_64 compiler also

Jon TURNEY jon.turney@dronecode.org.uk
Wed Jul 24 09:01:00 GMT 2013


2013-07-24  Jon TURNEY  <jon.turney@dronecode.org.uk>

	* bootstrap.sh : Add support for x86_64-w64-mingw32 toolchain.
---
 bootstrap.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/bootstrap.sh b/bootstrap.sh
index 1c28f49..f21206d 100755
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -55,8 +55,10 @@ 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"
+elif hash x86_64-w64-mingw32-g++ 2> /dev/null; then
+	host="x86_64-w64-mingw32"
 else
-	echo "mingw32-target g++ required for building setup"
+	echo "mingw32 or mingw64 target g++ required for building setup"
 	exit 1
 fi
 
-- 
1.8.3.1



More information about the Cygwin-apps mailing list