delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/05/01/14:43:34

From: Bruce DOT L DOT Conroy AT jpl DOT nasa DOT gov (Bruce Conroy)
Subject: Linking with third party libraries in .lib format?
1 May 1998 14:43:34 -0700 :
Message-ID: <3.0.32.19980501094615.007ab910.cygnus.gnu-win32@blackwidow.jpl.nasa.gov>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

Please forgive me if this is a FAQ, but I couldn't find it in the archives.

I have some instrument drivers from HP. Each consists of a header file and
a library file (ie xxx.h and xxx.lib). They are intended for use with
either MS Visual C or Borland C. I can compile and link with Gnu C without
error messages from gcc, but the program crashes.

Is there a procedure to either convert the .lib to a .a file, or to
include the right options in my c code to make it work?

Bruce Conroy

-
For help on using this list (especially unsubscribing), 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