Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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" , cygwin AT cygwin DOT com From: Larry Hall 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 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++. 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/