Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Howto PRO*C compile please Help me

Re: Howto PRO*C compile please Help me

From: Michael Krolewski <vandra_at_u.washington.edu>
Date: Sat, 24 Oct 1998 14:52:03 -0700
Message-ID: <36324C03.D903457B@u.washington.edu>


Assuming that you have ProcC for the platform you are using the gcc compiler, you need to modify your make file to "compile" the proC file into the target C or C++ file. Generally you are going from the proC file (.pc) to the C file (.cc or .c or .cpp) You additionally need to add the appropriate Oracle libraries to your link statement.

Under Unix, the proC compiler is part of the server product, though is often omitted during the install. Get the administrator to load it. The ProC components are not available on the PC except through other products like the Developers tools (about $3000).

OCI is available on all platforms. It is more cumbersome to use.

There is a C cover package -- OTL that converts the OCI to a more readable/useful C++ function set with additions like streams.

Mike Krolewski

news wrote:

> How to oracle Pro*C compile option ?
>
> I can use gcc compiler - linux server
Received on Sat Oct 24 1998 - 16:52:03 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US