summaryrefslogtreecommitdiff
path: root/binary/mingw-w64/gcc-cross-configure
blob: d0ecf760074ce1a8b9200377ad39ddb23410e343 (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
27
28
29
30
31
32
33
#! /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 \
--enable-targets=all \
--enable-multilib \
--with-arch-32=i686 \
--with-arch-64=nocona \
--with-tune-32=generic \
--with-tune-64=core2 \
--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 \
--with-system-zlib \
CFLAGS=-O2 CXXFLAGS=-O2