summaryrefslogtreecommitdiff
path: root/binary/mingw/gcc-cross-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-cross-configure
parentc1cdd361cd15b1cb7167ae8aa333b80bb67f6536 (diff)
MinGW build update for GCC 4.7.2
Diffstat (limited to 'binary/mingw/gcc-cross-configure')
-rwxr-xr-xbinary/mingw/gcc-cross-configure26
1 files changed, 26 insertions, 0 deletions
diff --git a/binary/mingw/gcc-cross-configure b/binary/mingw/gcc-cross-configure
new file mode 100755
index 0000000..eae0f5a
--- /dev/null
+++ b/binary/mingw/gcc-cross-configure
@@ -0,0 +1,26 @@
+#! /bin/sh
+
+# Try to configure a build similar to MinGW's.
+#
+../gcc-cross/configure \
+--target i686-mingw32 \
+--prefix=/home/boris/work/odb/build/mingw/cross/mingw \
+--with-sysroot=/home/boris/work/odb/build/mingw/cross/mingw \
+--enable-languages=c,c++ \
+--enable-shared \
+--with-dwarf2 \
+--enable-threads=win32 \
+--disable-multilib \
+--disable-debug \
+--disable-libssp \
+--disable-libgomp \
+--disable-graphite \
+--disable-build-poststage1-with-cxx \
+--enable-version-specific-runtime-libs \
+--disable-sjlj-exceptions \
+--disable-libstdcxx-debug \
+--disable-win32-registry \
+--disable-nls \
+--with-gnu-as \
+--with-gnu-ld \
+CFLAGS=-O2 CXXFLAGS=-O2