delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/07/11/07:27:37

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: <A9DD5EB41ADBD3119044009027CA8A25388C88@ex2beimcombx02>
From: "CLYNES Darius (SCIC)" <Darius DOT Clynes AT cec DOT eu DOT int>
To: cygwin AT sourceware DOT cygnus DOT com
Subject: Linking with Pro*C .libs from Oracle
Date: Tue, 11 Jul 2000 13:26:53 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)

------_=_NextPart_000_01BFEB2A.EA0A4A80
Content-Type: text/plain;
	charset="iso-8859-1"

After reading the email from kulack AT us DOT ibm DOT com I tried:


 gcc -o nomacc_dmp.exe -I. nomacc_dmp.c SQLLIB18.lib

where  SQLLIB18.lib is the Oracle lib provided for MSVC



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

 <<Re: linking windows dll with cygwin gcc>> 

------_=_NextPart_000_01BFEB2A.EA0A4A80
Content-Type: message/rfc822
Content-Description: Re: linking windows dll with cygwin gcc

Message-ID: <85256915 DOT 0077E1E6 DOT 00 AT D51MTA04 DOT pok DOT ibm DOT com>
From: kulack AT us DOT ibm DOT com
To: Tim Prince <tprince AT computer DOT org>
Cc: Jean-Luc Vay <JLVay AT lbl DOT gov>, cygwin AT sourceware DOT cygnus DOT com
Subject: Re: linking windows dll with cygwin gcc
Date: Fri, 7 Jul 2000 23:49:32 +0200 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-Darius.Clynes=cec DOT eu DOT int AT sources DOT redhat DOT com>
Content-Type: text/plain;
	charset="iso-8859-1"

Sorry, I don't know anything about the product you're using, but this may
work for you.
Support has been added for direct use of MS .lib files for your imports (I
suspect your product probably has those).

Example:
> make cli1.exe
gcc  -g -mthreads -I. -I/db2src/test -I/sqllib/include cli1.c
/SQLLIB/lib/db2api.lib /SQLLIB/lib/db2apie.lib /SQLLIB/lib/db2cli.lib
/db2src/test/libxa.a /db2src/test/libtps.a
mv a.exe cli1.exe

I've been using this and having really good luck.
GCC version: gcc-2.95.2-2.tar.gz

I got an interesting exception in one certain circumstance when I added a
new function from a different DLL but I couldn't track it down and worked
around it in some other fashion.




--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com


------_=_NextPart_000_01BFEB2A.EA0A4A80
Content-Type: text/plain; charset=us-ascii

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
------_=_NextPart_000_01BFEB2A.EA0A4A80--

- Raw text -


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