delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/04/02/10:56:19

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
Message-Id: <4.3.1.2.20020402104950.0265ea98@pop.ma.ultranet.com>
X-Sender: lhall AT pop DOT ma DOT ultranet DOT com
Date: Tue, 02 Apr 2002 10:54:25 -0500
To: Suhanthan Vanniyasingam <Suhanthan AT eRunway DOT com>,
"'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
From: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>
Subject: Re: Creating Static Libraries
In-Reply-To: <40F39C234319D611BCCB00B0D0D1CB336092E1@ENETSLMAILI>
Mime-Version: 1.0

At 02:47 AM 4/2/2002, Suhanthan Vanniyasingam wrote:
>  
>Hi,
>
>I'm new to cygwin. I have found that we can create DLLs using 
>Cygwin. So What abouts *.lib s? 
>
>Is there any relationship between *.a created with cygwin and *.lib? 


Yes.  If the *.a is an import library (stubs referencing a DLL) rather than
a static library, the format is the same as the *.lib.


>Is it possible to use these *.a libraries with VC++?


Generally, so long as you don't use dynamic memory (or if you do, you need to
be very careful about freeing it in the same library as it's allocated - 
better to just stay away from it).



Larry Hall                              lhall AT rfk DOT com
RFK Partners, Inc.                      http://www.rfk.com
838 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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