diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2013-02-15 08:44:41 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2013-02-15 08:44:41 +0200 |
commit | d845f920ec1f5cd6ef5a95366383e74725912441 (patch) | |
tree | 2969ea00c3dbb1553cde248fc918cfb241f361f6 /binary/darwin/test/gcc-qt | |
parent | a4a5194f4ffc82aa817f4b8e2d4f6d29dac1a0b9 (diff) |
Add Mac OS X ODB binary build scripts
Diffstat (limited to 'binary/darwin/test/gcc-qt')
-rw-r--r-- | binary/darwin/test/gcc-qt | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/binary/darwin/test/gcc-qt b/binary/darwin/test/gcc-qt new file mode 100644 index 0000000..c17bdd0 --- /dev/null +++ b/binary/darwin/test/gcc-qt @@ -0,0 +1,33 @@ +SQLITE=$HOME/sqlite +MYSQL=$HOME/mysqlclient-5.1.51-osx10.4-i686 +PGSQL=$HOME/pgsql-8.4.8 +ORACLE=$HOME/oracle +BOOST=$HOME/boost + +sqlite_build_options= +sqlite_use_options= + +mysql_build_options= +mysql_use_options="--with-mysql-host=192.168.0.5 --with-mysql-client=$MYSQL/bin/mysql" + +pgsql_build_options= +pgsql_use_options="--with-pgsql-host=192.168.0.5 --with-pgsql-client=$PGSQL/bin/psql" + +oracle_build_options="--with-oci=$ORACLE" +oracle_use_options="--with-oracle-host=192.168.0.5 --with-oracle-service=xe --with-oracle-client=$ORACLE/sqlplus" + +with_qt=y +with_boost=y + +CC=gcc +CXX=g++ +CPPFLAGS="-I$BOOST -I$SQLITE -I$MYSQL/include -I$PGSQL/include" +CXXFLAGS="-m32 -O3 -W -Wall -Wno-unknown-pragmas" +LDFLAGS="-m32 -L$BOOST/stage/lib -L$SQLITE -L$MYSQL/lib -L$PGSQL/lib" + +export DYLD_LIBRARY_PATH=$SQLITE:$DYLD_LIBRARY_PATH +export DYLD_LIBRARY_PATH=$MYSQL/lib:$DYLD_LIBRARY_PATH +export DYLD_LIBRARY_PATH=$PGSQL/lib:$DYLD_LIBRARY_PATH +export DYLD_LIBRARY_PATH=$ORACLE:$DYLD_LIBRARY_PATH + +export DYLD_LIBRARY_PATH=$BOOST/stage/lib:$DYLD_LIBRARY_PATH |