This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: Oracle client in Cygwin?
- To: cygwin at cygwin dot com
- Subject: RE: Oracle client in Cygwin?
- From: Darius dot Clynes at cec dot eu dot int
- Date: Mon, 6 Aug 2001 21:42:47 +0200
>-----Original Message-----
>From: Tim Heath [mailto:th374862@cosd.fedex.com]
>Sent: Monday, August 06, 2001 7:04 PM
>To: CLYNES Darius (SCIC)
>Subject: Re: Oracle client in Cygwin?
>
>
>I would really like an example using pro-c if that is ok :)
Ok Attached is:
a makefile,
a settings file (defs.mk), and a dos2unix converter - both used by the
makefile.
a main.c
and an example.pc
just fill in the username, password, database
and change the select statement to correspond to your
data. good luck
>
>Thanks,
>
>Tim Heath
>
>Darius.Clynes@cec.eu.int wrote:
>>
>> Jim
>>
>> I know of 3 ways to do this.
>>
>> 1) Pro*C (the way I do it and you link to SQLLIB18.lib)
>> you have to call the pro-c compiler first
>>
>> 2) OCI (haven't tried this from cygwin but it should work
>if you link with
>> the right libs)
>>
>> 3) ODBC (haven't tried this from cygwin, but if you do let
>me know if it
>> works,
>> and send me an example please)
>>
>> After you install the Oracle Client, (with pro*c) and if you
>need an example
>>
>> i would be happy to send you one.
>>
>> Darius
>>
>> Darius Clynes
>> Software Engineer
>> European Commission
>> Rue De Mot 24
>> Brussels, 1040
>> Belgium
>>
>> Office tel: +32 2 2962441
>> fax: +32 2 2966025
>> Cell phone: +32 476 218850
>>
>> >-----Original Message-----
>> >From: Jim Drash [mailto:jdrash@eesus.jnj.com]
>> >Sent: Monday, August 06, 2001 6:49 PM
>> >To: cygwin@cygwin.com
>> >Subject: Oracle client in Cygwin?
>> >
>> >
>> >Is it possible to atttache to Oracle databases from within Cygwin?
>> >If so what is required? If this has been asked before, I could not
>> >find any reference to it in the archives?
>> >
>> >thanks in advance,
>> >jim drash <jdrash@eesus.jnj.com>
>> >
>> >--
>> >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/
>
example.pc
Makefile
main.c
dos2unix
defs.mk
--
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/