This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Is it possible to convert .a linux library into win32 .dll or lib ?


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]