This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Linking with Pro*C .libs from Oracle
- To: cygwin at sourceware dot cygnus dot com
- Subject: Linking with Pro*C .libs from Oracle
- From: "CLYNES Darius (SCIC)" <Darius dot Clynes at cec dot eu dot int>
- Date: Tue, 11 Jul 2000 13:26:53 +0200
After reading the email from kulack@us.ibm.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>>
- To: Tim Prince <tprince at computer dot org>
- Subject: Re: linking windows dll with cygwin gcc
- From: kulack at us dot ibm dot com
- Date: Fri, 7 Jul 2000 23:49:32 +0200
- Cc: Jean-Luc Vay <JLVay at lbl dot gov>, cygwin at sourceware dot cygnus dot com
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@sourceware.cygnus.com
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com