diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2013-02-15 09:11:53 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2013-02-15 09:11:53 +0200 |
commit | bb5c65c64ff5ad3d136b351da2d629a9cd8a2ba5 (patch) | |
tree | 2036331bd329f4915df9374e4a71a7ef30973486 /binary/mingw-w64/gcc-configure | |
parent | 663a6689ba14a422cbc714d113b28dad731c44bf (diff) |
Add MinGW-W64 ODB binary build scripts
Diffstat (limited to 'binary/mingw-w64/gcc-configure')
-rwxr-xr-x | binary/mingw-w64/gcc-configure | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/binary/mingw-w64/gcc-configure b/binary/mingw-w64/gcc-configure new file mode 100755 index 0000000..ca00dd5 --- /dev/null +++ b/binary/mingw-w64/gcc-configure @@ -0,0 +1,33 @@ +#! /bin/sh + +# Try to configure a build similar to MinGW-W64's. +# +# NOTE: update gcc-headers/ if changing the configuration. +# +../gcc/configure \ +--host i686-w64-mingw32 \ +--target i686-w64-mingw32 \ +--prefix=/mingw \ +--with-sysroot=/mingw \ +--enable-languages=c,c++ \ +--enable-shared \ +--enable-threads=posix \ +--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 \ +--with-pkgversion="ODB special" \ +--with-bugurl="http://www.codesynthesis.com/products/odb/" \ +--enable-static-plugin \ +--with-stage1-libs=libplugin-stub.a \ +CFLAGS=-O2 CXXFLAGS=-O2 LDFLAGS=-s |