delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/01/29/16:46:39

From: mikel AT globalserve DOT net ("mikel AT globalserve DOT on DOT ca")
Subject: Linking to 3rd party DLL's - howto?
29 Jan 1997 16:46:39 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <199701292348.SAA07157.cygnus.gnu-win32@enigma.globalserve.net>
Reply-To: mikel AT globalserve DOT net
Comments: Authenticated sender is <mikel AT mail DOT globalserve DOT on DOT ca>
Original-To: gnu-win32 AT cygnus DOT com (Cygwin List)
X-mailer: Pegasus Mail for Windows (v2.23)
Original-Sender: owner-gnu-win32 AT cygnus DOT com

Hello all,

I am sure this must be a FAQ but could'nt find it there.

I am trying to link to a LIB file, the linker reports 
"no such file or directory" even with a local copy to
eliminate any possibility of path variable problems.  

I tried to extract to object files with "ar" but "ar -tv"
gives approx. 50 entries with the same "DLL" label for each.

There apparently is some magic required here.

I've seen reference to fixheaders but don't know what or
where it is (thats next).

Also tried LD_LIBRARY_PATH or whatever, same deal.

All of this is in support of trying to get cygnus gcc and
the oracle precompiler to work together. Some details follow.

Thanks in advance for any info or suggested readings, I will 
be glad to summarize for the list & FAQ.

cygnus gcc:       v2.7.2
Win NT:           v3.51
Oracle:           v7.2
Pro*C:            v2.1
Lib file:         SQLLIB17.LIB
ar reports label: SQLLIB17.DLL 
balks at symbols: sqlcex & sqlglm

Thanks again
Mike
mikel AT globalserve DOT on DOT ca 
-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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