delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/07/12/09:50:50

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <A7AF87D6496DD411B50A00D0B76DEB2C1E6F59@EX2BEBREYMBX02>
From: Darius DOT Clynes AT cec DOT eu DOT int
To: cygwin AT cygwin DOT com
Subject: RE: Regarding databse connection
Date: Thu, 12 Jul 2001 15:31:52 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)

There are several ways to do this.

Pro C (you must install the Oracle client, PRO C development 
	 and sql net software, etc)

OCI (same Oracle client CD but use/install oci as well)

ODBC (this should work with cygwin if you link with the right .libs  and
dlls)
      I haven't tried this but would be interested if any body has
      and knows the right linking commands, calls etc).

etc..

I have had the most experience with Pro C on cygwin 
because of maintaining Unix compatibility with older code. 
I would not recommend this route because one has the
distinct impression that Oracle is phasing it out.

if you DO install the Oracle client with Pro C I 
can send the linking commands I use with gcc under
cygwin.

need the link commands for Pro C:
just add this to the end of your 
gcc compile command (end of library list for link time) 

$(ORACLE_HOME)/PRO22/LIB/MSVC/SQLLIB18.LIB



>-----Original Message-----
>From: Sheejan Kallely [mailto:sheejan DOT kallely AT ctp DOT i-labs DOT ws]
>Sent: Thursday, July 12, 2001 12:40 PM
>To: cygwin AT cygwin DOT com
>Subject: Regarding databse connection
>
>
>i would like to know how i can connect Oracle databse from the GNU C++.
>whether it support COM Componet. if you have any sample code for how to
>connect Oracle databse it will be more helpfull for me. please 
>do it at the
>earliest.
>
>regards
>
>Sheejan Kallely
>Software Engineer
>i labs Ltd. 
>0606 & 0608, Tidel Park, Chennai 600 113.
>* 2540220/1/2/3/4 Ext.215 
>9840094845
>http://www.i-labs.ws
>
>
>
>--
>Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>Bug reporting:         http://cygwin.com/bugs.html
>Documentation:         http://cygwin.com/docs.html
>FAQ:                   http://cygwin.com/faq/
>

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019