delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/11/11/12:47:03

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: <00fe01c289aa$3ba3ee80$78d96f83@pomello>
From: "Max Bowsher" <maxb AT ukf DOT net>
To: <eric DOT belhomme AT free DOT fr>, <cygwin AT cygwin DOT com>
References: <410-2200211111163655365 AT M2W048 DOT mail2web DOT com>
Subject: Re: Is it possible to convert .a linux library into win32 .dll or lib ?
Date: Mon, 11 Nov 2002 17:46:15 -0000
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

Max Bowsher:
>>> No, it's not ELF. It is a static library (i.e. more-or-less a static
>>> .lib file)

Larry Hall:
>> See the FAQ entry:
>>
>> Can I mix objects compiled with msvc++ and gcc?
>> http://cygwin.com/faq/faq_4.html#SEC117
>>
>> Also, if your library pulls in the Cygwin runtime DLL, make sure you
>> don't mix the heap with MSVC's.

Eric Belhomme:
> So, can I link this file with a native win32 software developped with
> Ms Visual C++ 6 ?

*Objects* are compatible. *Static Libraries* are NOT.

I _think_ you might be able to make a library with MS lib.exe, although I
have never done it myself.

Are there good reasons for not using one set of compiler tools exclusively?

Max.


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