delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/09/17/09:54:43

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-Authentication-Warning: localhost.localdomain: ronald set sender to blytkerchan AT users DOT sourceforge DOT net using -f
Date: Wed, 17 Sep 2003 16:24:38 +0200
From: Ronald Landheer-Cieslak <blytkerchan AT users DOT sourceforge DOT net>
To: cygwin AT cygwin DOT com
Subject: Re: Can .lib files be converted to .a files?
Message-ID: <20030917142438.GA19674@linux_rln.harvest>
Reply-To: cygwin AT cygwin DOT com
References: <web-32567154 AT rems02 DOT cluster1 DOT charter DOT net>
Mime-Version: 1.0
In-Reply-To: <web-32567154@rems02.cluster1.charter.net>
User-Agent: Mutt/1.4i
X-Disclaimer: I had nothing to do with it - I swear!
X-loop: linux_rln.harvest

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.

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/

- Raw text -


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