This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Is it possible to convert .a linux library into win32 .dll or lib ?
- From: "Max Bowsher" <maxb at ukf dot net>
- To: <eric dot belhomme at free dot fr>,<cygwin at cygwin dot com>
- Date: Mon, 11 Nov 2002 17:46:15 -0000
- Subject: Re: Is it possible to convert .a linux library into win32 .dll or lib ?
- References: <410-2200211111163655365@M2W048.mail2web.com>
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/