|
Search Forums:
|
|||||||
| Forums | Register | Forum Rules | Linux and Unix Links | Man Pages | Albums | FAQ | Users | Calendar | Search | Today's Posts | Mark Forums Read |
| Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
How to compile pro*c, C programs
Hi, How to precompile the c program which has proc statements within it. If it is only c, I will use the following cmd Code:
cc filename.c -o output so please tell me what command I have to use for precompilation. I beleave that this is not an oracle or proc forum, but still I hope will get the assistance. |
| Sponsored Links | |
|
|
|
#2
|
|||
|
|||
|
compile proc
First generate the .c code from .pc. Code:
proc -iname=filename.pc Then generate the .o file Code:
cc -I${ORACLE_HOME}/precomp/public -c filename.cAfter that link the .o to libraries and produce the exe. Code:
cc -o exe_name -L $ORACLE_HOME/lib -lclntsh This is an obscure way of doing things. Generate a make file and try to put all your options in that. Also, read the txt doc attached for more details. |
| Sponsored Links | ||
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Debugging Pro C Programs | rameshvmenon | Programming | 5 | 07-12-2006 09:36 AM |
| How to compile and run C++ programs in UNIX environment? | Kahuashi | Programming | 5 | 05-28-2002 01:27 AM |
| TSR programs | rajashekaran | Programming | 6 | 02-26-2002 08:33 AM |
| Where did my programs go? | helvetica | UNIX for Dummies Questions & Answers | 3 | 08-06-2001 10:12 PM |
| How to Compile programs using cc?? | spotanddot | Programming | 7 | 07-09-2001 07:51 AM |
|
|