aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorMumit Khan <khan@xraylith.wisc.edu>1998-01-04 00:10:33 +0000
committerJeff Law <law@gcc.gnu.org>1998-01-03 17:10:33 -0700
commitd39cd7a1e974515c82a12cc377111f2fd65efe7e (patch)
treed47e565d2c5f38bd2f8a624f33bbb5fd8c71f94e /config
parentdb0d1ed937f0b96e460df219968ce13fdb195fa2 (diff)
downloadgcc-d39cd7a1e974515c82a12cc377111f2fd65efe7e.zip
gcc-d39cd7a1e974515c82a12cc377111f2fd65efe7e.tar.gz
gcc-d39cd7a1e974515c82a12cc377111f2fd65efe7e.tar.bz2
config.sub: Add mingw32 support.
* config.sub: Add mingw32 support. * configure.in: Likewise. * config/mh-mingw32: New file. From-SVN: r17291
Diffstat (limited to 'config')
-rw-r--r--config/mh-mingw3212
1 files changed, 12 insertions, 0 deletions
diff --git a/config/mh-mingw32 b/config/mh-mingw32
new file mode 100644
index 0000000..8c4839d
--- /dev/null
+++ b/config/mh-mingw32
@@ -0,0 +1,12 @@
+# We don't want debugging info in Win32-hosted toolchains.
+# Accomplish this by overriding CFLAGS.
+CFLAGS=-O2
+CXXFLAGS=-O2
+
+# We also need to override LIBGCC2_DEBUG_CFLAGS so libgcc2 will be
+# built without debugging information
+
+LIBGCC2_DEBUG_CFLAGS=
+
+# custom installation rules for mingw32 (append .exe to binaries, etc.)
+# INSTALL_DOSREL=install-dosrel