summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-01-04 00:10:33 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-01-04 00:10:33 +0000
commitba7b87c89c82758be86ccdebcabcdc0a5f7e0be9 (patch)
treed47e565d2c5f38bd2f8a624f33bbb5fd8c71f94e /config
parentf877a6f9852f4c4ffe566dc0f77fd2f7f067a957 (diff)
downloadgcc-ba7b87c89c82758be86ccdebcabcdc0a5f7e0be9.tar.gz
* config.sub: Add mingw32 support.
* configure.in: Likewise. * config/mh-mingw32: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17291 138bc75d-0d04-0410-961f-82ee72b054a4
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 00000000000..8c4839d89d6
--- /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