Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Reply-To: Cygwin List <cygwin@cygwin.com>
Message-Id: <6.1.0.6.0.20040825213332.0387ca18@pop.prospeed.net>
X-Sender: 
Date: Wed, 25 Aug 2004 21:41:31 -0400
To: "Yu-Cheng Chou" <cycchou@ucdavis.edu>, cygwin@cygwin.com
From: Larry Hall <lh-no-personal-replies-please@cygwin.com>
Subject: Re: use vc lib in cygwin
In-Reply-To: <200408252248.i7PMmTBl020227@cucujus.ucdavis.edu>
References: <200408252248.i7PMmTBl020227@cucujus.ucdavis.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"

At 06:48 PM 8/25/2004, you wrote:

>Hi, there:
>
>I got some xxx.lib files created by VC.
>Now I wanna create a xxx.dl file based on those xxx.lib files using gcc in 
>cygwin, but some errore occurred.
>
>The xxx.lib files might need to be transferred to something that gcc can 
>recognize, and the problem could then be fixed. So, how to do it?


Good question.  Unfortunately, you haven't said what xxx.lib is, whether 
it's a static lib or an export library, and whether it contains C-callable
functions or just C++.  <http://cygwin.com/cygwin-ug-net/dll.html> should
give you some idea of the process of building a DLL from scratch with 
Cygwin and gcc.  Perhaps with this and the answers to the questions I 
posed above, you'll be able to figure out how to do what you want, assuming 
xxx.lib is a static lib containing C-callable functions.  But then one has 
to question why make a DLL out of a static library.  Not that you can't do
it of course.



--
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/

