summaryrefslogtreecommitdiff
path: root/binary/mingw/gcc-configure
blob: 548ca30537ac002052dc1f43a022bb62490d42de (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
#! /bin/sh

../gcc-4.5.1/configure \
--with-pkgversion="ODB special" \
--with-bugurl="http://www.codesynthesis.com/products/odb/" \
--enable-threads=win32 \
--enable-version-specific-runtime-libs \
--enable-languages=c,c++ \
--with-dwarf2 \
--enable-shared \
--disable-libssp \
--disable-libgomp \
--disable-sjlj-exceptions \
--disable-win32-registry \
--disable-nls \
--disable-multilib \
--disable-libstdcxx-pch \
--host i686-mingw32 \
--target i686-mingw32 \
--with-sysroot=/mingw \
--prefix=/mingw \
--enable-static-plugin \
--with-stage1-libs=libplugin-stub.a \
CFLAGS=-O2 CXXFLAGS=-O2 LDFLAGS=-s

# --disable-shared

#echo 'make STATIC_PLUGIN_LIBS="`pwd`/../odb-build/odb/.libs/odb.a `pwd`/../libcutl/cutl/.libs/libcutl.a -lstdc++"'