From 0c0424b4f321a90028b12beb8959de707224e45e Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 15 Feb 2013 09:02:53 +0200 Subject: Add Solaris ODB binary build scripts --- binary/solaris/test/cc-i686-12u2 | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 binary/solaris/test/cc-i686-12u2 (limited to 'binary/solaris/test/cc-i686-12u2') diff --git a/binary/solaris/test/cc-i686-12u2 b/binary/solaris/test/cc-i686-12u2 new file mode 100644 index 0000000..b60158a --- /dev/null +++ b/binary/solaris/test/cc-i686-12u2 @@ -0,0 +1,33 @@ +SQLITE=$HOME/sqlite +MYSQL=$HOME/mysqlclient-5.1.50-solaris10-i386 +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=n +with_boost=y + +CC=/opt/studio12u2/solstudio12.2/bin/cc +CXX=/opt/studio12u2/solstudio12.2/bin/CC +CPPFLAGS="-I$BOOST -I$SQLITE -I$MYSQL/include -I$PGSQL/include" +CXXFLAGS="-O" +LDFLAGS="-L$BOOST/stage/lib -L$SQLITE -L$MYSQL/lib -L$PGSQL/lib" + +export LD_LIBRARY_PATH=$SQLITE:$LD_LIBRARY_PATH +export LD_LIBRARY_PATH=$MYSQL/lib:$LD_LIBRARY_PATH +export LD_LIBRARY_PATH=$PGSQL/lib:$LD_LIBRARY_PATH +export LD_LIBRARY_PATH=$ORACLE:$LD_LIBRARY_PATH + +export LD_LIBRARY_PATH=$BOOST/stage/lib:$LD_LIBRARY_PATH -- cgit v1.1