Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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" CC: "cygwin AT cygwin. Com (E-mail)" Subject: Re: Cygwin 2.1 and Python modules References: <01C1054C DOT 844D5B00 DOT jorgens AT coho DOT net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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/