summaryrefslogtreecommitdiff
path: root/binary/mingw-w64/odb-configure
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-02-15 09:11:53 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-02-15 09:11:53 +0200
commitbb5c65c64ff5ad3d136b351da2d629a9cd8a2ba5 (patch)
tree2036331bd329f4915df9374e4a71a7ef30973486 /binary/mingw-w64/odb-configure
parent663a6689ba14a422cbc714d113b28dad731c44bf (diff)
Add MinGW-W64 ODB binary build scripts
Diffstat (limited to 'binary/mingw-w64/odb-configure')
-rwxr-xr-xbinary/mingw-w64/odb-configure14
1 files changed, 14 insertions, 0 deletions
diff --git a/binary/mingw-w64/odb-configure b/binary/mingw-w64/odb-configure
new file mode 100755
index 0000000..fd565a0
--- /dev/null
+++ b/binary/mingw-w64/odb-configure
@@ -0,0 +1,14 @@
+#! /bin/sh
+
+../odb/configure \
+--disable-shared \
+--enable-static \
+--host i686-w64-mingw32 \
+--target i686-w64-mingw32 \
+--prefix=/tmp/odb-$1-i686-windows \
+--with-libcutl=../libcutl \
+--with-gxx-name='..\\mingw\\bin\\g++.exe' \
+--with-options-file='..\\etc\\odb\\default.options' \
+CXXFLAGS="-O2 -W -Wall" \
+LDFLAGS=-static-libgcc \
+CPPFLAGS="-I`pwd`/../gcc-headers/gcc -I`pwd`/../gcc/gcc -I`pwd`/../gcc/libcpp/include -I`pwd`/../gcc/include"