delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/07/31/17:49:21

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Info: This message was accepted for relay by
smtp03.mrf.mail.rcn.net as the sender used SMTP authentication
X-Trace: UmFuZG9tSVb6EXUeKia5GSYcek/AT3mLgPvbqR3wfFSnHgBUzRVW9xh7T6q1C5VU
Message-ID: <3F298DF3.4030504@cygwin.com>
Date: Thu, 31 Jul 2003 17:45:23 -0400
From: Larry Hall <cygwin-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: =?ISO-8859-1?Q?J=E9r=F4me_DESPATIS?= <jdespatis AT yahoo DOT fr>
CC: cygwin AT cygwin DOT com
Subject: Re: using a dll created by cygwin in msvc++
References: <20030731211812 DOT 70424 DOT qmail AT web11701 DOT mail DOT yahoo DOT com>
In-Reply-To: <20030731211812.70424.qmail@web11701.mail.yahoo.com>

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/

- Raw text -


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