Re: Oracle C++ Queries

From: Bruce Geerdes <bgeerdes_at_igs.com>
Date: 1995/11/17
Message-ID: <1995Nov17.161609.8582_at_igs.com>#1/1


Paul Gasztold (gasztold) wrote:
> Do you know which oci libraries are needed to compile OCI in C++ without
> using pro*C? I have been doing the oci by hand in 'c' for an oracle 6
> database.

The OCI link libraries are the same for C and C++. I use (on Solaris 2.4):

ORCLIB = $(ORCHOME)/lib
ORCLINK = -xcg92 -L$(ORCLIB) -locic $(ORCLIB)/osntab.o -lsqlnet -lora -lsqlnet - lcv6 -lcore -lnlsrtl -lcore

The OCI libraries are compiled in C so you will have to "extern C" them.

-- 
bgeerdes_at_igs.com (Bruce Geerdes)
C:\ONGRTLNS.W95
Received on Fri Nov 17 1995 - 00:00:00 CET

Original text of this message