delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/07/05/16:16:05

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3B44C92F.38EC0233@ece.gatech.edu>
Date: Thu, 05 Jul 2001 16:08:15 -0400
From: Charles Wilson <cwilson AT ece DOT gatech DOT edu>
X-Mailer: Mozilla 4.7 [en] (X11; U; SunOS 5.8 sun4u)
X-Accept-Language: en
MIME-Version: 1.0
To: "jorgens AT coho DOT net" <jorgens AT coho DOT net>
CC: "cygwin AT cygwin. Com (E-mail)" <cygwin AT cygwin DOT com>
Subject: Re: Cygwin 2.1 and Python modules
References: <01C1054C DOT 844D5B00 DOT jorgens AT coho DOT net>

Steve Jorgensen wrote:
> 
> -----Original Message-----
> From:   Jason Tishler [SMTP:Jason DOT Tishler AT dothill DOT com]
> Sent:   Thursday, July 05, 2001 11:33 AM
> To:     David Abrahams
> Cc:     Cygwin
> Subject:        Re: Cygwin 2.1 and Python modules
> 
> Dave,
> 
> ...
> It takes advantage of somewhat recent Cygwin gcc enhancements:
> 
>     1. binding to msvcrt.dll instead of crtdll.dll
>     2. ability to link directly to a DLL (instead of requiring an import
>        library)
> 
> I recently printed the section of the Cygwin User's Guide, and it appears
> to show only the import-library method of linking to a DLL (if I understand
> what I'm seeing).  I suppose it's important to keep it there since some
> users may freeze their Cygwin installations for periods of time, but it
> would be nice to have an example of the new way in the document as well.

FYI, the "link directly to a DLL without using an import lib" is
intended ONLY as an emergency fallback in those cases (MS DLL's) where
implibs are not available.  This is based on the DJ's statements "back
then" when he was implementing this functionality.

Also AFAIRC, "direct linking" doesn't even work if the DLL exports
variables; only purely-functional interfaces are supported.  Now, Paul
Sokolovsky has some patches to binutils that enable "non-decorated"
import/export -- which conceivably can also enable "direct linking" with
variable exports (since that's why Paul developed the patches). 
However, Paul's changes have not yet been widely tested, and have not
been accepted into the mainline binutils source code.  Check the mail
archives for the patch, build a binutils (or use Paul's link to his
prebuilt version) and help test it.

--Chuck

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