![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Debugging Pro C Programs | rameshvmenon | High Level Programming | 5 | 07-12-2006 06:36 AM |
| How to compile and run C++ programs in UNIX environment? | Kahuashi | High Level Programming | 5 | 05-27-2002 10:27 PM |
| TSR programs | rajashekaran | High Level Programming | 6 | 02-26-2002 05:33 AM |
| Where did my programs go? | helvetica | UNIX for Dummies Questions & Answers | 3 | 08-06-2001 07:12 PM |
| How to Compile programs using cc?? | spotanddot | High Level Programming | 7 | 07-09-2001 04:51 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
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 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. |
| Forum Sponsor | ||
|
|
|
|||
|
compile proc
First generate the .c code from .pc.
proc -iname=filename.pc Then generate the .o file cc -I${ORACLE_HOME}/precomp/public -c filename.c After that link the .o to libraries and produce the exe. 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. |
|||
| Google The UNIX and Linux Forums |