delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/11/11/15:55:55

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: <004a01c289af$99a143c0$a352a518@samsystem>
From: "Samuel" <samuel AT socal DOT rr DOT com>
To: <cygwin AT cygwin DOT com>
References: <Xns92C3A3171AE36ericbelhommefreefr AT 80 DOT 91 DOT 224 DOT 249> <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
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000

----- Original Message -----
From: "Eric Belhomme" <rico AT ricospirit DOT net>
To: "Max Bowsher" <maxb AT ukf DOT net>; "Eric Belhomme" <eric DOT belhomme AT free DOT fr>;
<cygwin AT cygwin DOT com>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019