delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/08/25/21:41:54

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
Reply-To: Cygwin List <cygwin AT cygwin DOT 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 AT ucdavis DOT edu>, cygwin AT cygwin DOT com
From: Larry Hall <lh-no-personal-replies-please AT cygwin DOT com>
Subject: Re: use vc lib in cygwin
In-Reply-To: <200408252248.i7PMmTBl020227@cucujus.ucdavis.edu>
References: <200408252248 DOT i7PMmTBl020227 AT cucujus DOT ucdavis DOT edu>
Mime-Version: 1.0

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/

- Raw text -


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