summaryrefslogtreecommitdiff
path: root/binary/mingw/gcc-cross-configure
diff options
context:
space:
mode:
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