Re: Database Handling
Date: Tue, 23 Jan 2001 22:06:21 GMT
Message-ID: <94kv8l$l94$1_at_nnrp1.deja.com>
In article <94kqnt$gmd$1_at_nnrp1.deja.com>,
Dave <shaily_at_my-deja.com> wrote:
> HI i am new with the database. I have written many C programms but
> neverlinkd a C programm with Oracle database. I know that by help of
> Pro*C we can access oracle data base in C programms on Unix m/c. But
> how to do that can any one explain me.what libraries we need to add in
> make file to make C executable.
>
> Sent via Deja.com
> http://www.deja.com/
>
The best example is to use the example makefile. There used to be lots within the installed samples. If I recall properly, you are looking for a file like proc.mk or *.mk. It should contain the basic information for Oracle. You need to add to it all of your information --> standard C libraries, include paths, other library paths, etc.
Depending on the system, the library paths can be a bit weird. Solaris has (had?) an extremely convoluted library collection.
-- Michael Krolewski Rosetta Inpharmatics mkrolewski_at_rii.com Usual disclaimers Sent via Deja.com http://www.deja.com/Received on Tue Jan 23 2001 - 23:06:21 CET