delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/05/26/15:22:51

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.2.1.2.0.20050526150828.03d58dd8@pop.prospeed.net>
Date: Thu, 26 May 2005 15:19:25 -0400
To: cygwin AT cygwin DOT com, cygwin AT cygwin DOT com
From: Larry Hall <lh-no-personal-replies-please AT cygwin DOT com>
Subject: Re: .a to .lib converting
Cc: Alireza Ghasemi <ali DOT foolad AT gmail DOT com>
In-Reply-To: <Pine.GSO.4.61.0505260042380.8541@slinky.cs.nyu.edu>
References: <000601c56114$340b1970$812fb5d5 AT keloasc60pobkb> <Pine DOT GSO DOT 4 DOT 61 DOT 0505250914360 DOT 8541 AT slinky DOT cs DOT nyu DOT edu> <6 DOT 2 DOT 1 DOT 2 DOT 0 DOT 20050525211518 DOT 03cba708 AT pop DOT prospeed DOT net> <Pine DOT GSO DOT 4 DOT 61 DOT 0505260042380 DOT 8541 AT slinky DOT cs DOT nyu DOT edu>
Mime-Version: 1.0

At 12:47 AM 5/26/2005, you wrote:
>On Wed, 25 May 2005, Larry Hall wrote:
>
>> At 09:21 AM 5/25/2005, you wrote:
>> >On Wed, 25 May 2005, Alireza Ghasemi wrote:
>> >
>> >> Hello,
>> >> I want to use some cygwin .a libraries with other environments(like
>> >> VC++) as static .lib files.is this possible?
>> >
>> >Yes.
>>
>> Or no. ;-)
>
>Eh?  Your response below points to a "yes", AFAICS...

I guess it depends on your level of expertise.  VC++ .lib libraries can be 
used directly, without any fuss (standard exclusion for C++ linkage and 
some inevitable oddities of course).  The reverse requires lots of 
fiddling/hacks though and is not part of Cygwin proper.  That's why I said 
no.  Also, while the FAQ entry you pointed to gives a few alternatives for 
linking against .lib libraries from gcc/g++, it says nothing about the 
reverse.  So my response was meant as a clarification and to point out the 
difference in ease of going one way versus the other.  I just didn't think 
that was clear from your post (or maybe it was but wasn't clear to me ;-) ). 
In any case, it sounds like you and I are in violent agreement on this 
subject so I think our work is done. ;-)



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