summaryrefslogtreecommitdiff
path: root/binary/solaris/test/cc-i686-12u2
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-02-15 09:02:53 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-02-15 09:02:53 +0200
commit0c0424b4f321a90028b12beb8959de707224e45e (patch)
tree767ffadbd487b00fd092b6f4f950477f5a22720b /binary/solaris/test/cc-i686-12u2
parentd1b1d1f6b9583cd4fb08fb2995a2209cfdf627d2 (diff)
Add Solaris ODB binary build scripts
Diffstat (limited to 'binary/solaris/test/cc-i686-12u2')
-rw-r--r--binary/solaris/test/cc-i686-12u233
1 files changed, 33 insertions, 0 deletions
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