summaryrefslogtreecommitdiff
path: root/binary/mingw/gcc-configure
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-02-23 11:57:17 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-02-23 11:57:17 +0200
commitafc81e5cb09219770a8a5b8cd2855b45ece0a42a (patch)
tree66b7db87067ce3190fd95fe831bc72d80c50df89 /binary/mingw/gcc-configure
parent8fc1fc844a9695fb0d1d5d3c13393d4709ce7592 (diff)
Add build scripts for Windows binary
Diffstat (limited to 'binary/mingw/gcc-configure')
-rwxr-xr-xbinary/mingw/gcc-configure28
1 files changed, 28 insertions, 0 deletions
diff --git a/binary/mingw/gcc-configure b/binary/mingw/gcc-configure
new file mode 100755
index 0000000..548ca30
--- /dev/null
+++ b/binary/mingw/gcc-configure
@@ -0,0 +1,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++"'