#! /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