From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31952 invoked by alias); 17 Sep 2003 14:12:22 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 31945 invoked from network); 17 Sep 2003 14:12:21 -0000 Received: from unknown (HELO ns2.prospeed.net) (12.46.111.140) by sources.redhat.com with SMTP; 17 Sep 2003 14:12:21 -0000 Received: from enterprise-e.cygwin.com ([12.46.110.44]) by ns2.prospeed.net (8.12.8/8.12.8) with ESMTP id h8HEIiPO020494; Wed, 17 Sep 2003 10:18:45 -0400 Reply-To: Cygwin List Message-Id: <5.1.0.14.0.20030917100436.027f3278@127.0.0.1> X-Sender: Date: Wed, 17 Sep 2003 14:18:00 -0000 To: cygwin@cygwin.com, cygwin@cygwin.com From: Larry Hall Subject: Re: Can .lib files be converted to .a files? In-Reply-To: <20030917142438.GA19674@linux_rln.harvest> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-SW-Source: 2003-09/txt/msg01138.txt.bz2 At 10:24 AM 9/17/2003, Ronald Landheer-Cieslak you wrote: >On Wed, Sep 17, 2003 at 09:45:06AM -0400, craig grossbach wrote: >> Does someone know of a way to convert a .lib file to it's >> .a counterpart? I need to get pcscal32.lib to be >> libpcscal32.a. Thank you. >If pcscal32.lib was written in C and compiled by MSVC, just rename it. Or just use the library directly by listing it on the link line explicitly vs the -lpcscal32 syntax for gcc libraries. >If it was not written in C, you're out of luck: there are ABI differences >that you won't be able to get around without recompiling. > >If it was not compiled by MSVC (or something compatible), you'll have to use >whatever your compiler offers to convert it - if anything. Otherwise, >recompiling is the only thing you can do. > >HTH > >rlc > >-- >Today's weirdness is tomorrow's reason why. > -- Hunter S. Thompson > >-- >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/ -- 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/