本博客所有内容均为原创,如有转载请注明作者和出处

Step by Step TimesTen ---Compiling TTClass

上一篇 / 下一篇  2008-03-20 16:21:17 / 个人分类:TimesTen

 

Compiling TTClass (shared optimized library) on unix

 

Step 1:修改环境变量

 

$ cd /ora/TimesTen/tt70/TimesTen/tt70/bin

$ chmod 755 ttenv*

$ ./ttenv.sh

 

NOTE: JDK1.3 is not supported, setting values for JDK1.4

 

LD_LIBRARY_PATH set to /ora/TimesTen/tt70/TimesTen/tt70/lib

 

LD_LIBRARY_PATH_64 set to /ora/TimesTen/tt70/TimesTen/tt70/lib

 

ANT_HOME set to /ora/TimesTen/tt70/TimesTen/tt70/3rdparty/ant

 

PATH set to /ora/TimesTen/tt70/TimesTen/tt70/bin:/ora/TimesTen/tt70/TimesTen/tt70/demo:/ora/TimesTen/tt70/TimesTen/tt70/demo/ttclasses:/ora/TimesTen/tt70/TimesTen/tt70/demo/xlaPersistent:/ora/TimesTen/tt70/TimesTen/tt70/demo/tutorial/java:/ora/TimesTen/tt70/TimesTen/tt70/3rdparty/ant/bin:/usr/bin

 

CLASSPATH set to /ora/TimesTen/tt70/TimesTen/tt70/lib/classes14.jar:/ora/TimesTen/tt70/TimesTen/tt70/lib/timestenjmsxla.jar:/ora/TimesTen/tt70/TimesTen/tt70/3rdparty/jms1.1/lib/jms.jar:.

 

THREADS_FLAG set to native

 

$ env

 

ANT_HOME=/ora/TimesTen/tt70/TimesTen/tt70/3rdparty/ant

CLASSPATH=/ora/TimesTen/tt70/TimesTen/tt70/lib/classes14.jar:/ora/TimesTen/tt70/TimesTen/tt70/lib/timestenjmsxla.jar:/ora/T

imesTen/tt70/TimesTen/tt70/3rdparty/jms1.1/lib/jms.jar:.

HOME=/ora/TimesTen

HZ=100

LD_LIBRARY_PATH=/ora/TimesTen/tt70/TimesTen/tt70/lib:

LD_LIBRARY_PATH_64=/ora/TimesTen/tt70/TimesTen/tt70/lib

LOGNAME=times

MAIL=/var/mail/times

PATH=/opt/SUNWspro/bin:/ora/TimesTen/tt70/TimesTen/tt70/bin:/ora/TimesTen/tt70/TimesTen/tt70/demo:/ora/TimesTen/tt70/TimesT

en/tt70/demo/ttclasses:/ora/TimesTen/tt70/TimesTen/tt70/demo/xlaPersistent:/ora/TimesTen/tt70/TimesTen/tt70/demo/tutorial/j

ava:/ora/TimesTen/tt70/TimesTen/tt70/3rdparty/ant/bin:/usr/bin:/usr/local/bin:/ora/TimesTen/tt70/TimesTen/tt70/bin:/usr/bin

:

SHELL=/bin/sh

TERM=xterm

THREADS_FLAG=native

TZ=PRC

 

Step 2: make

 

$ cd /ora/TimesTen/tt70/TimesTen/tt70/ttclasses

 

$ make

 

CC -DTT_70 -DTTEXCEPT -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DTT_64BIT -DTTCLASSES -I/ora/TimesTen/tt70/TimesTen/tt70/inc

lude -I/ora/TimesTen/tt70/TimesTen/tt70/include/ttclasses -xO4 -mt -Kpic -xarch=v9 -c TTCmd.cpp -o objOpt/TTCmd.o

CC -DTT_70 -DTTEXCEPT -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DTT_64BIT -DTTCLASSES -I/ora/TimesTen/tt70/TimesTen/tt70/inc

lude -I/ora/TimesTen/tt70/TimesTen/tt70/include/ttclasses -xO4 -mt -Kpic -xarch=v9 -c TTCommand.cpp -o objOpt/TTCommand.o

CC -DTT_70 -DTTEXCEPT -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DTT_64BIT -DTTCLASSES -I/ora/TimesTen/tt70/TimesTen/tt70/inc

lude -I/ora/TimesTen/tt70/TimesTen/tt70/include/ttclasses -xO4 -mt -Kpic -xarch=v9 -c TTConnection.cpp -o objOpt/TTConnecti

on.o

CC -DTT_70 -DTTEXCEPT -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DTT_64BIT -DTTCLASSES -I/ora/TimesTen/tt70/TimesTen/tt70/inc

lude -I/ora/TimesTen/tt70/TimesTen/tt70/include/ttclasses -xO4 -mt -Kpic -xarch=v9 -c TTColumn.cpp -o objOpt/TTColumn.o

CC -DTT_70 -DTTEXCEPT -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DTT_64BIT -DTTCLASSES -I/ora/TimesTen/tt70/TimesTen/tt70/inc

lude -I/ora/TimesTen/tt70/TimesTen/tt70/include/ttclasses -xO4 -mt -Kpic -xarch=v9 -c TTConnectionPool.cpp -o objOpt/TTConn

ectionPool.o

CC -DTT_70 -DTTEXCEPT -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DTT_64BIT -DTTCLASSES -I/ora/TimesTen/tt70/TimesTen/tt70/inc

lude -I/ora/TimesTen/tt70/TimesTen/tt70/include/ttclasses -xO4 -mt -Kpic -xarch=v9 -c TTParameter.cpp -o objOpt/TTParameter

.o

CC -DTT_70 -DTTEXCEPT -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DTT_64BIT -DTTCLASSES -I/ora/TimesTen/tt70/TimesTen/tt70/inc

lude -I/ora/TimesTen/tt70/TimesTen/tt70/include/ttclasses -xO4 -mt -Kpic -xarch=v9 -c TTCatalog.cpp -o objOpt/TTCatalog.o

CC -DTT_70 -DTTEXCEPT -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DTT_64BIT -DTTCLASSES -I/ora/TimesTen/tt70/TimesTen/tt70/inc

lude -I/ora/TimesTen/tt70/TimesTen/tt70/include/ttclasses -xO4 -mt -Kpic -xarch=v9 -c TTStatus.cpp -o objOpt/TTStatus.o

CC -DTT_70 -DTTEXCEPT -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DTT_64BIT -DTTCLASSES -I/ora/TimesTen/tt70/TimesTen/tt70/inc

lude -I/ora/TimesTen/tt70/TimesTen/tt70/include/ttclasses -xO4 -mt -Kpic -xarch=v9 -c TTTypes.cpp -o objOpt/TTTypes.o

CC -DTT_70 -DTTEXCEPT -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DTT_64BIT -DTTCLASSES -I/ora/TimesTen/tt70/TimesTen/tt70/inc

lude -I/ora/TimesTen/tt70/TimesTen/tt70/include/ttclasses -xO4 -mt -Kpic -xarch=v9 -c TTEnvironment.cpp -o objOpt/TTEnviron

ment.o

CC -DTT_70 -DTTEXCEPT -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DTT_64BIT -DTTCLASSES -I/ora/TimesTen/tt70/TimesTen/tt70/inc

lude -I/ora/TimesTen/tt70/TimesTen/tt70/include/ttclasses -xO4 -mt -Kpic -xarch=v9 -c TTXla.cpp -o objOpt/TTXla.o

CC -DTT_70 -DTTEXCEPT -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DTT_64BIT -DTTCLASSES -I/ora/TimesTen/tt70/TimesTen/tt70/include -I/ora/TimesTen/tt70/TimesTen/tt70/include/ttclasses -xO4 -mt -Kpic -xarch=v9 -c TTLog.cpp -o objOpt/TTLog.o

CC -DTT_70 -DTTEXCEPT -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DTT_64BIT -DTTCLASSES -I/ora/TimesTen/tt70/TimesTen/tt70/include -I/ora/TimesTen/tt70/TimesTen/tt70/include/ttclasses -xO4 -mt -Kpic -xarch=v9 -c TTGlobal.cpp -o objOpt/TTGlobal.o

cc -DTT_70 -DTTEXCEPT -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DTT_64BIT -DTTCLASSES -I/ora/TimesTen/tt70/TimesTen/tt70/include -I/ora/TimesTen/tt70/TimesTen/tt70/include/ttclasses -xO4 -mt -Kpic -xarch=v9 -c ttTime.c -o objOpt/ttTime.o

CC -G -xO4 -mt -Kpic -xarch=v9 -o lib/libttclasses.so objOpt/TTCmd.o objOpt/TTCommand.o objOpt/TTConnection.o objOpt/TTColumn.o objOpt/TTConnectionPool.o objOpt/TTParameter.o objOpt/TTCatalog.o objOpt/TTStatus.o objOpt/TTTypes.o objOpt/TTEnvironment.o objOpt/TTXla.o objOpt/TTLog.o objOpt/TTGlobal.o objOpt/ttTime.o

make[1]: Entering directory `/ora/TimesTen/tt70/TimesTen/tt70/ttclasses'

***********************************************************

Built lib/libttclasses.so

Now run 'make install' to install the the TTClasses library

into /ora/TimesTen/tt70/TimesTen/tt70/lib

***********************************************************

make[1]: Leaving directory `/ora/TimesTen/tt70/TimesTen/tt70/ttclasses'

 

Step 3: make install

 

$ make install

Installing TTClasses libraries

cp lib/libttclasses.so /ora/TimesTen/tt70/TimesTen/tt70/lib

 

 

Compiling TTClasses for client/server mode

 

To build a client/server version of TTClasses:

 

$ make -f MakefileCS clean all

 

 

 


TAG:

 

评分:0

我来说两句

显示全部

:loveliness: :handshake :victory: :funk: :time: :kiss: :call: :hug: :lol :'( :Q :L ;P :$ :P :o :@ :D :( :)

日历

« 2008-10-08  
   1234
567891011
12131415161718
19202122232425
262728293031 

数据统计

  • 访问量: 2252
  • 日志数: 28
  • 建立时间: 2008-01-07
  • 更新时间: 2008-08-29

RSS订阅

Open Toolbar