This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]