------- Comment #5 from fxcoudert at gcc dot gnu dot org  2007-09-05 13:25 
-------
(In reply to comment #2)
> The solution is to build gcc/gfortran wiith -D__USE_MINGW_ACCESS in CFLAGS

It might be worth putting into the tree. Danny, would you be OK with the
following?

Index: configure.ac
===================================================================
--- configure.ac        (revision 127859)
+++ configure.ac        (working copy)
@@ -974,8 +974,10 @@
     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: config/mh-mingw
===================================================================
--- config/mh-mingw     (revision 0)
+++ config/mh-mingw     (revision 0)
@@ -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


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33281

Reply via email to