Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: How to complie pro*c program
Wali Haidri wrote:
> I am trying to compile an old pro*C program on HP 10.2 with oracle
> 7.3.3.
> I have a proc.mk and a script like sample.pc.
>
> Can somebody e-mail me directly what steps should be taken.
>
> I tried the instructions in proc.mk file but I am confused because I
> have never done
> it before.
>
> Thanks.
Hi.
This is simple ?
You can get result by following below step.
[STEP]
/usr3/ora7016/bin/proc ireclen=132 oreclen=132 select_error=no iname=$.pc /usr3/ora7016/bin/echodo cc -I. -O -L/usr3/ora7016/lib -o $1 $1.c /usr3/ora7016/lib/libsql.a /usr3/ora7016/lib/osntab.o -lsqlnet -lora /usr3/ora7016/lib/libpls.a -lsqlnet -lnlsrtl -lcv6 -lcore -lnlsrtl -lcv6 -lcore -lld -lmalloc -lseq `cat /usr3/ora7016/rdbms/lib /sysliblist`
4. unix$ chmod 777 mk
5. unix$ ./mk sample2
The result file sample2 was created in your system !
B. Case 2 : ORACLE Server Version 7.1.X, 7.2.X 7.3.x higher...
< PROC Version 1.X >
In this case :
[STEP]
< PROC Version 2.X >
In this case :
[STEP]
You can acquire Oracle PROC Version by just write in command line like a 'unix$ $ORACLE_HOME/proc'
I wish, this contents helpful for you !
Good lock and sorry for my english !
PS : You can get more information in 'http://www.oracle.com'
Techincal bulletin Section
Received on Fri Oct 09 1998 - 04:25:51 CDT