summaryrefslogtreecommitdiff
path: root/binary/mingw-w64/gcc-cross-configure
diff options
context:
space:
mode:
Diffstat (limited to 'binary/mingw-w64/gcc-cross-configure')
-rwxr-xr-xbinary/mingw-w64/gcc-cross-configure27
1 files changed, 27 insertions, 0 deletions
diff --git a/binary/mingw-w64/gcc-cross-configure b/binary/mingw-w64/gcc-cross-configure
new file mode 100755
index 0000000..39d1d54
--- /dev/null
+++ b/binary/mingw-w64/gcc-cross-configure
@@ -0,0 +1,27 @@
+#! /bin/sh
+
+# Try to configure a build similar to MinGW-W64's.
+#
+../gcc-cross/configure \
+--target i686-w64-mingw32 \
+--prefix=/home/boris/work/odb/build/mingw-w64/cross/mingw \
+--with-sysroot=/home/boris/work/odb/build/mingw-w64/cross/mingw \
+--enable-languages=c,c++ \
+--enable-shared \
+--enable-threads=posix \
+--disable-debug \
+--disable-libssp \
+--disable-libgomp \
+--disable-graphite \
+--disable-multilib \
+--enable-libstdcxx-time \
+--enable-fully-dynamic-string \
+--disable-dw2-exceptions \
+--enable-sjlj-exceptions \
+--disable-libstdcxx-pch \
+--disable-libstdcxx-debug \
+--disable-rpath \
+--disable-win32-registry \
+--disable-nls \
+--disable-werror \
+CFLAGS=-O2 CXXFLAGS=-O2