This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/33281] gfortran crt2.o not found under Vista
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Sep 2007 13:25:32 -0000
- Subject: [Bug target/33281] gfortran crt2.o not found under Vista
- References: <bug-33281-15052@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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