OSDN Git Service

PR target/33281
authorfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 6 Sep 2007 15:42:02 +0000 (15:42 +0000)
committerfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 6 Sep 2007 15:42:02 +0000 (15:42 +0000)
* configure.ac: Use config/mh-mingw on mingw.
* configure: Regenerate.
* config/mh-mingw: New host makefile fragment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128188 138bc75d-0d04-0410-961f-82ee72b054a4

ChangeLog
config/mh-mingw [new file with mode: 0644]
configure
configure.ac

index eefe51a..c62909b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2007-09-06  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
+
+       PR target/33281
+       * configure.ac: Use config/mh-mingw on mingw.
+       * configure: Regenerate.
+       * config/mh-mingw: New host makefile fragment.
+
 2007-09-05  Pat Haugen  <pthaugen@us.ibm.com>
 
         * MAINTAINERS (Write After Approval): Add myself.
diff --git a/config/mh-mingw b/config/mh-mingw
new file mode 100644 (file)
index 0000000..7186499
--- /dev/null
@@ -0,0 +1,3 @@
+# Add -D__USE_MINGW_ACCESS to enable the built compiler to work on Windows
+# Vista (see PR33281 for details).
+BOOT_CFLAGS += -D__USE_MINGW_ACCESS
index dd12627..64ce7cf 100755 (executable)
--- a/configure
+++ b/configure
@@ -2698,8 +2698,10 @@ case "${host}" in
     host_makefile_frag="config/mh-cygwin"
     ;;
   *-mingw32*)
+    host_makefile_frag="config/mh-mingw"
     ;;
   *-mingw64*)
+    host_makefile_frag="config/mh-mingw"
     ;;
   *-interix*)
     host_makefile_frag="config/mh-interix"
index 57de100..b0eabdd 100644 (file)
@@ -974,8 +974,10 @@ case "${host}" in
     host_makefile_frag="config/mh-cygwin"
     ;;
   *-mingw32*)
+    host_makefile_frag="config/mh-mingw"
     ;;
   *-mingw64*)
+    host_makefile_frag="config/mh-mingw"
     ;;
   *-interix*)
     host_makefile_frag="config/mh-interix"