Oracle8i(HP장비)에서 돌던 Pro*C를 Oracle9i(Solaris 장비)에 설치된 시스템으로 옮겨와서 재 컴파일을 하려고 합니다.
전에 8i에서 아래와 같은 스크립트를 만들어서 컴파일을 했었는데...9i 에서는 어케 바꿔줘야 하는지요?
경로변경은 하겠는데 gcc 할때 -lnsgr8 -lnzjs8 -ln8 -lnl8 -lclient8 -lvsn8 -lwtc8 -lcommon8 -lgeneric8 -lwtc8 -lmm -lnls8 -lcore8 -lnls8 -lcore8 -lnls8 이렇게 된부분은 어떻게 바꿔야 하는지요? 아시는분 조언 부탁 드립니다.
고맙습니다.
아래는 컴파일하는 전체 스크립트 입니다.
# pccom
# usage : pccom sample
/oracle/app/oracle/product/817/bin/proc $1.pc
gcc -DSLXMX_ENABLE -DSLTS_ENABLE -D_REENTRANT -I. -I/oracle/app/oracle/product/8.1.7/ -c $1.c
gcc -g -o $1 -L/oracle/app/oracle/product/817/precomp/lib/ -L/oracle/app/oracle/product/817/lib/ $1.o -L/oracle/app/oracle/product/817/lib/ -lclntsh /oracle/app/oracle/product/817/lib/scorept.o /oracle/app/oracle/product/817/lib/sscoreed.o /oracle/app/oracle/product/817/rdbms/lib/kpudfo.o -lclient8 -lsql8 /oracle/app/oracle/product/817/lib/nautab.o /oracle/app/oracle/product/817/lib/naeet.o /oracle/app/oracle/product/817/lib/naect.o /oracle/app/oracle/product/817/lib/naedhs.o /oracle/app/oracle/product/817/rdbms/lib/kpuadef.o `cat /oracle/app/oracle/product/817/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 -lnro8 `cat /oracle/app/oracle/product/817/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 -lclient8 -lvsn8 -lwtc8 -lcommon8 -lgeneric8 -lwtc8 -lmm -lnls8 -lcore8 -lnls8 -lcore8 -lnls8 `cat /oracle/app/oracle/product/817/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 -lnro8 `cat /oracle/app/oracle/product/817/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 -lclient8 -lvsn8 -lwtc8 -lcommon8 -lgeneric8 -lpls8 -ltrace8 -lnls8 -lcore8 -lnls8 -lcore8 -lnls8 -lclient8 -lvsn8 -lwtc8 -lcommon8 -lgeneric8 -lnls8 -lcore8 -lnls8 -lcore8 -lnls8 -lld -lm `cat /oracle/app/oracle/product/817/lib/sysliblist` -lm -bI:/oracle/app/oracle/product/817/lib/pw-syscall.exp -bI:/oracle/app/oracle/product/817/lib/ksms.imp
mv $1 ../$1
rm $1.c $1.lis $1.o
그리고 time_t 라는 구조체를 사용하는데 이거는 HP장비에만 있는건지요? 아니면 Solaris 에도 있는건지요?