Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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: <004a01c289af$99a143c0$a352a518@samsystem> From: "Samuel" To: References: <008301c28994$87ee1f10$78d96f83 AT pomello> <008501c2899f$0497fc70$0a01a8c0 AT athlon> Subject: Re: Is it possible to convert .a linux library into win32 .dll or lib ? Date: Mon, 11 Nov 2002 10:24:36 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 ----- Original Message ----- From: "Eric Belhomme" To: "Max Bowsher" ; "Eric Belhomme" ; Sent: Monday, November 11, 2002 8:25 AM Subject: Re: Is it possible to convert .a linux library into win32 .dll or lib ? > > So, can I link this file with a native win32 software developped with Ms > Visual C++ 6 ? I don't know much about the Unix functions for dynamic linking but I have attempted to determine the similarities to Windows functions for dynamic linking. It was my intent to write a utility that was as platform-independent as possible. It is my understanding that the Unix functions are different from the Windows equivalents. It is my understanding that Unix does not have the equivalent of implicit linking; that the Unix functions are similar to the (explicit linking) LoadLibrary function and related functions in Windows. The significance of that is that the utility you want to use is probably not compatible at the source code level with Windows. In other words, it is not likely to work to just recompile it using Visual C++. In a Windows environment, a DLL might not be compatible with a program compiled with a different compiler. In fact a DLL compiled by VC might not be compatible with another DLL or program compiled by VC. Usually non-programmers are not aware of such incompatibilities since programmers would have not released something with such incompatiblities. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.408 / Virus Database: 230 - Release Date: 10/24/2002 -- 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/