delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/11/23/11:29:38

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
From: cliff AT ember DOT com
To: cygwin AT cygwin DOT com
Date: Fri, 23 Nov 2001 11:27:30 -0500
MIME-Version: 1.0
Subject: compiling python extensions under Cygwin
Message-ID: <3BFE32A2.18575.A410FA@localhost>
X-mailer: Pegasus Mail for Win32 (v3.12c)

Hi--

I'm trying to move some python extensions from Linux to Cygwin, 
and I don't know how to compile them properly.  Searching the web 
didn't yield much info, so any examples/howtos would be greatly 
appreciated.

Specific questions:

1.  Cygwin python (2.1.1) doesn't seem to import ".so" files, so I 
assume that I must compile to ".dll"  Could someone confirm this?
Are there alternatives?

2.  When I try to create a ".dll" using the information on the Cygwin 
website, I get a linker warning saying that it could not find a 
reference to mainCRTStartup (even though my extension does not 
have any GUI).  Importing the resulting .dll leads to a segfault.  
What gives?

Thanks for reading this far and for any pointers to resources on the 
web or in print.

--Cliff




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