aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancois-Xavier Coudert <fxcoudert@gcc.gnu.org>2007-09-06 15:42:02 +0000
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>2007-09-06 15:42:02 +0000
commit1f5a6b84ab344b601da7284a588de810c3c53451 (patch)
tree93b44cedbacb424af01a72402be29b00e3e00b87
parent7903b3e5bb007611afad518d7b1f028b39c596a7 (diff)
downloadgcc-1f5a6b84ab344b601da7284a588de810c3c53451.zip
gcc-1f5a6b84ab344b601da7284a588de810c3c53451.tar.gz
gcc-1f5a6b84ab344b601da7284a588de810c3c53451.tar.bz2
re PR target/33281 (gfortran crt2.o not found under Vista)
PR target/33281 * configure.ac: Use config/mh-mingw on mingw. * configure: Regenerate. * config/mh-mingw: New host makefile fragment. From-SVN: r128188
-rw-r--r--ChangeLog7
-rw-r--r--config/mh-mingw3
-rwxr-xr-xconfigure2
-rw-r--r--configure.ac2
4 files changed, 14 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index eefe51a..c62909b 100644
--- 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
index 0000000..7186499
--- /dev/null
+++ b/config/mh-mingw
@@ -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
diff --git a/configure b/configure
index dd12627..64ce7cf 100755
--- 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"
diff --git a/configure.ac b/configure.ac
index 57de100..b0eabdd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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"