delorie.com/archives/browse.cgi | search |
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 |
Reply-To: | <nhv AT cape DOT com> |
From: | "Norman Vine" <nhv AT cape DOT com> |
To: | <cygwin AT cygwin DOT com> |
Subject: | FW: Problem building python extensions |
Date: | Tue, 25 Sep 2001 18:01:55 -0400 |
Message-ID: | <003501c1460d$b18cd300$a300a8c0@nhv> |
MIME-Version: | 1.0 |
X-Priority: | 3 (Normal) |
X-MSMail-Priority: | Normal |
X-Mailer: | Microsoft Outlook 8.5, Build 4.71.2232.26 |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4522.1200 |
Importance: | Normal |
Darrell R. Hougen writes: > >I'm new to using cygwin to build python extension modules and am having >a fair bit of trouble. I can build the extension module under Solaris, >but when I try to build under cygwin, I get the following errors: < snip > >I am using active state python 2.1 and gcc 2.95.3-5 on an NT 4.0 box. I >downloaded the version of cygwin that I'm using only yesterday, so it >should be up to date. AFAIK you need to use a Cygwin compiled Python library you also need to add a -DUSE_DL_IMPORT to your gcc command line and link against $LIB_DIR/Python$VER/config/python$VER.dll Where $LIB_DIR is either /lib/python$VER or /usr/local/lib/python$VER depending whether you use the distributed python or have compiled it yourself If this doesn't work ask again Norman -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |