This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [build,mingw32] Build compiler with -D__USE_MINGW_ACCESS so that it works on Vista
>> 2007-09-06 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
>>
>> PR target/33281
>> * configure.ac: Use config/mh-mingw on mingw.
>> * config/mh-mingw: New host makefile fragment.
>
> OK by me.
Committed to trunk as rev. 128188. Apparently, I don't have write
permission to the src repository, could someone commit the following
for me?
Thanks,
FX
Index: configure
===================================================================
RCS file: /cvs/src/src/configure,v
retrieving revision 1.272
diff -p -u -r1.272 configure
--- configure 21 Aug 2007 04:15:07 -0000 1.272
+++ configure 6 Sep 2007 15:42:53 -0000
@@ -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: configure.ac
===================================================================
RCS file: /cvs/src/src/configure.ac,v
retrieving revision 1.20
diff -p -u -r1.20 configure.ac
--- configure.ac 21 Aug 2007 04:15:07 -0000 1.20
+++ configure.ac 6 Sep 2007 15:42:53 -0000
@@ -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"
Index: ChangeLog
===================================================================
RCS file: /cvs/src/src/ChangeLog,v
retrieving revision 1.753
diff -p -u -r1.753 ChangeLog
--- ChangeLog 30 Aug 2007 20:22:12 -0000 1.753
+++ ChangeLog 6 Sep 2007 15:42:55 -0000
@@ -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-08-29 Nick Clifton <nickc@redhat.com>
* config.sub, config.guess: Update from upstream sources.
Index: config/mh-mingw
===================================================================
RCS file: config/mh-mingw
diff -N config/mh-mingw
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ config/mh-mingw 6 Sep 2007 15:42:55 -0000
@@ -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