Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re:HELP! How to re-compile a Pro*C program
ED,
Not a problem. First you need to verify that Pro*C and HP's ANSI C compiler have been installer. The latter can be verified by your SA. The former by simply calling is "proc". It should flood the terminal with help stuff. Now assunimg that both have been installed, you run Proc as follows (assume that the program is called HELLO):
proc iname=hello.pc oname=hello.c
make -f $ORACLE_HOME/precomp/demo/proc/demo_proc.mk build EXE=hello OBJS=hello.o
Now if these programs have PL/SQL blocks inside them it gets a little more involved, so mail me back directly.
Dick Goulet
____________________Reply Separator____________________Subject: HELP! How to re-compile a Pro*C program Author: Ed <junior_peon_at_yahoo.com>
Hello All,
We are upgrading HP-UX from 10.20 to 11.0. I have a Pro*C program that executes on the earlier OS release but not on HP-UX11.0
We had applied 2 C Library patches that were supposed to make re-compiling unnecessary but that don't seems to work. According to OWWS, I need to re-compile it but I know nothing about Pro*C.
I inherited this program and I am stuck. I have been searching for information on the basics of Pro*C. While I am doing that, I am hoping some kind folks can help me out and point me in the right direction. I have checked Metalink and read some threads on this.
I am desperate....any help is most welcomed and appreciated. Thanks very much.
Best regards,
Ed
-- Author: Ed INET: junior_peon_at_yahoo.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Tue Jul 11 2000 - 16:03:30 CDT