SOURCES: crossmingw64-binutils-configure.patch (NEW) - fix mingw64...

pluto pluto at pld-linux.org
Tue Sep 26 13:55:15 CEST 2006


Author: pluto                        Date: Tue Sep 26 11:55:15 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix mingw64 detection.

---- Files affected:
SOURCES:
   crossmingw64-binutils-configure.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/crossmingw64-binutils-configure.patch
diff -u /dev/null SOURCES/crossmingw64-binutils-configure.patch:1.1
--- /dev/null	Tue Sep 26 13:55:15 2006
+++ SOURCES/crossmingw64-binutils-configure.patch	Tue Sep 26 13:55:10 2006
@@ -0,0 +1,67 @@
+--- src/config.guess	2006-05-14 02:51:19.000000000 +0200
++++ src_conf/config.guess	2006-09-20 15:32:42.087100600 +0200
+@@ -780,6 +780,9 @@
+     i*:CYGWIN*:*)
+ 	echo ${UNAME_MACHINE}-pc-cygwin
+ 	exit ;;
++    x86*:MINGW64*:*)
++	echo ${UNAME_MACHINE}-pc-mingw64
++	exit ;;
+     i*:MINGW*:*)
+ 	echo ${UNAME_MACHINE}-pc-mingw32
+ 	exit ;;
+--- src/config.sub	2006-08-15 20:23:07.000000000 +0200
++++ src_conf/config.sub	2006-09-20 15:45:23.530737100 +0200
+@@ -682,6 +682,10 @@
+ 		basic_machine=i386-pc
+ 		os=-mingw32
+ 		;;
++	mingw64)
++		basic_machine=x86_64-pc
++		os=-mingw64
++		;;
+ 	miniframe)
+ 		basic_machine=m68000-convergent
+ 		;;
+@@ -1210,7 +1214,7 @@
+ 	      | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
+ 	      | -chorusos* | -chorusrdb* \
+ 	      | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
+-	      | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
++	      | -mingw32* | -mingw64* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
+ 	      | -uxpv* | -beos* | -mpeix* | -udk* \
+ 	      | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
+ 	      | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
+--- src/configure.in	2006-09-20 14:45:02.265776800 +0200
++++ src_conf/configure.in	2006-09-20 15:35:03.077959100 +0200
+@@ -281,6 +281,10 @@
+     # noconfigdirs="tcl tk expect dejagnu make texinfo bison patch flex byacc send-pr uudecode dejagnu diff guile perl itcl gnuserv"
+     noconfigdirs="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
+     ;;
++  x86_64-*-mingw64*)
++    # noconfigdirs="tcl tk expect dejagnu make texinfo bison patch flex byacc send-pr uudecode dejagnu diff guile perl itcl gnuserv"
++    noconfigdirs="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
++    ;;
+   i[[3456789]]86-*-beos*)
+     noconfigdirs="$noconfigdirs tk itcl libgui gdb"
+     ;;
+@@ -618,6 +622,10 @@
+     target_configdirs="$target_configdirs target-winsup"
+     noconfigdirs="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
+     ;;    
++  x86_64-*-mingw64*)
++    target_configdirs="$target_configdirs target-winsup"
++    noconfigdirs="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
++    ;;    
+   *-*-cygwin*)
+     target_configdirs="$target_configdirs target-libtermcap target-winsup"
+     noconfigdirs="$noconfigdirs target-gperf target-libgloss ${libgcj}"
+@@ -930,6 +938,8 @@
+     ;;
+   *-mingw32*)
+     ;;
++  *-mingw64*)
++    ;;
+   *-interix*)
+     host_makefile_frag="config/mh-interix"
+     ;;
================================================================


More information about the pld-cvs-commit mailing list