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]

Re: Cygwin 2.1 and Python modules


That is *my* opinion, yes.  There are others who disagree.  Once the 
need to decorate (__declspec(dllexport)) both functions AND variables is 
no longer required -- because perhaps Paul S's changes are incorporated 
-- then I'd say SURE, ignore implibs and just link directly to the dll.

But not yet.

So help test Paul's patches.

--Chuck

Steve Jorgensen wrote:

> I see.  So for most of us, it's better to pretend this capability does not exist since it will only cause us headaches.
> 
> -----Original Message-----
> From:	Charles Wilson [SMTP:cwilson@ece.gatech.edu]
> Sent:	Thursday, July 05, 2001 1:08 PM
> To:	jorgens@coho.net
> Cc:	cygwin@cygwin. Com (E-mail)
> Subject:	Re: Cygwin 2.1 and Python modules
> 
> Steve Jorgensen wrote:
> 
>>-----Original Message-----
>>From:   Jason Tishler [SMTP:Jason.Tishler@dothill.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/
> 



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