summaryrefslogtreecommitdiff
path: root/binary/mingw/gcc-cross-configure
blob: eae0f5a5cb4481df37d048b30188564b091a5cd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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