using a dll created by cygwin in msvc++

Larry Hall cygwin-lh@cygwin.com
Thu Jul 31 22:22:00 GMT 2003


Jérôme DESPATIS wrote:

> Re
> 
> So you say Larry that i need an import library
> (foo.lib) to link against in msvc++.
> I think so also.
> 
> My problem is now to create this .lib.
> Indeed, in the bottom of the link
> http://cygwin.com/cygwin-ug-net/dll.html, it's
> explained to create a .def file and .a file, but not a
> .lib file that i need in msvc++


The .a you made with the above is an import file.  Try it.  It's
easier than creating the .lib.  But if you have to, check out lib.exe
that comes with VC++.  You can create an import library with this too.


> In fact i don't need a Cygwin-compatible import
> library but a MSVC++ -compatible import library,
> because i want to compile my prog with msvc++
> 
> (if you ask me why, the simple program is in fact a qt
> program, and trolltech proposes only compilation with
> borland C++ and msvc++ which both use .lib import
> library)
> 
> maybe there's some docs in the mailing liste archive,
> but i have great great difficulties with the search
> engine http://cygwin.com/ml/cygwin/


You're better off with google and just pointing at 'cygwin.com'
for better or worse.


-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746


#################################################################
#################################################################
#################################################################
#####
#####
#####
#################################################################
#################################################################
#################################################################

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list