2007-09-06 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
authorAndrew Haley <aph@redhat.com>
Tue, 11 Sep 2007 13:10:20 +0000 (13:10 +0000)
committerAndrew Haley <aph@redhat.com>
Tue, 11 Sep 2007 13:10:20 +0000 (13:10 +0000)
        PR target/33281
        * configure.ac: Use config/mh-mingw on mingw.
        * configure: Regenerate.
        * config/mh-mingw: New host makefile fragment.

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

index bcb3630fceda6bb04560c46a24a124c324340830..47d7e986d9604cedda506d21978216c03dadc47a 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-10  Rask Ingemann Lambertsen  <rask@sygehus.dk>
 
        PR other/32154
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 6806e580b970fd44a25a87e615a0bc5774d84a17..6911e011b02dc6435cb6995ca77606fb9419aa43 100755 (executable)
--- a/configure
+++ b/configure
@@ -2726,8 +2726,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 27c512e72b253f715da41dec37cbbf2871f72b74..fb8f7102a85711d72661e421973925656448a90d 100644 (file)
@@ -1002,8 +1002,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"