aboutsummaryrefslogtreecommitdiff
path: root/config/mh-mingw32
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1998-01-04 00:12:58 +0000
committerJeff Law <law@redhat.com>1998-01-04 00:12:58 +0000
commit0b0bd98b801a29994c2d794aad15e958b7f20800 (patch)
tree73b2d8fb3356132d6fc565f2815609ad1b84d645 /config/mh-mingw32
parentc49f612a688aac74a2fb55e0d6190b92f9ed5fb9 (diff)
downloadgdb-0b0bd98b801a29994c2d794aad15e958b7f20800.zip
gdb-0b0bd98b801a29994c2d794aad15e958b7f20800.tar.gz
gdb-0b0bd98b801a29994c2d794aad15e958b7f20800.tar.bz2
* config.sub: Add mingw32 support.
* configure.in: Likewise. * mh-mingw32: New file.
Diffstat (limited to 'config/mh-mingw32')
-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