summaryrefslogtreecommitdiff
path: root/binary/mingw/gcc-configure
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-02-11 07:49:46 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-02-11 07:49:46 +0200
commit0b23a3f3b097d89be0a0221e32dd3a970c188df3 (patch)
treee519ba4efa960bbe5aa72b4a1cc77a5f0939dd01 /binary/mingw/gcc-configure
parentc1cdd361cd15b1cb7167ae8aa333b80bb67f6536 (diff)
MinGW build update for GCC 4.7.2
Diffstat (limited to 'binary/mingw/gcc-configure')
-rwxr-xr-xbinary/mingw/gcc-configure29
1 files changed, 16 insertions, 13 deletions
diff --git a/binary/mingw/gcc-configure b/binary/mingw/gcc-configure
index 548ca30..016e7d2 100755
--- a/binary/mingw/gcc-configure
+++ b/binary/mingw/gcc-configure
@@ -1,28 +1,31 @@
#! /bin/sh
-../gcc-4.5.1/configure \
+# Try to configure a build similar to MinGW's.
+#
+# NOTE: update gcc-headers/ if changing the configuration.
+#
+../gcc/configure \
--with-pkgversion="ODB special" \
--with-bugurl="http://www.codesynthesis.com/products/odb/" \
---enable-threads=win32 \
---enable-version-specific-runtime-libs \
---enable-languages=c,c++ \
+--host i686-mingw32 \
+--target i686-mingw32 \
+--prefix=/mingw \
+--with-sysroot=/mingw \
--with-dwarf2 \
+--enable-languages=c,c++ \
--enable-shared \
+--enable-threads=win32 \
--disable-libssp \
--disable-libgomp \
+--disable-graphite \
+--enable-version-specific-runtime-libs \
--disable-sjlj-exceptions \
---disable-win32-registry \
--disable-nls \
--disable-multilib \
--disable-libstdcxx-pch \
---host i686-mingw32 \
---target i686-mingw32 \
---with-sysroot=/mingw \
---prefix=/mingw \
+--disable-libstdcxx-debug \
+--disable-bootstrap \
+--disable-win32-registry \
--enable-static-plugin \
--with-stage1-libs=libplugin-stub.a \
CFLAGS=-O2 CXXFLAGS=-O2 LDFLAGS=-s
-
-# --disable-shared
-
-#echo 'make STATIC_PLUGIN_LIBS="`pwd`/../odb-build/odb/.libs/odb.a `pwd`/../libcutl/cutl/.libs/libcutl.a -lstdc++"'