delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/09/26/08:50:44

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
Date: Wed, 26 Sep 2001 08:51:04 -0400
From: Jason Tishler <jason AT tishler DOT net>
To: "Darrell R. Hougen" <no DOT darrell DOT r DOT hougen DOT spam AT lmco DOT com>
Cc: cygwin AT cygwin DOT com, darrell DOT r DOT hougen AT lmco DOT com
Subject: Re: Problem building python extensions
Message-ID: <20010926085104.H1280@dothill.com>
Mail-Followup-To: "Darrell R. Hougen" <no DOT darrell DOT r DOT hougen DOT spam AT lmco DOT com>,
cygwin AT cygwin DOT com, darrell DOT r DOT hougen AT lmco DOT com
Mime-Version: 1.0
In-Reply-To: <3BB0FA2D.D928DA51@lmco.com>
User-Agent: Mutt/1.3.18i

Darrell,

On Tue, Sep 25, 2001 at 03:42:05PM -0600, Darrell R. Hougen wrote:
> I am using active state python 2.1 and gcc 2.95.3-5 on an NT 4.0 box.

Since you are using a Win32 Python (i.e., not Cygwin Python), then you
must built your Python extensions with Mingw gcc or Cygwin gcc with the
-mno-cygwin option (i.e., Mingw mode).  See the following for a good,
but somewhat dated, tutorial:

    http://starship.python.net/crew/kernr/mingw32/Notes.html

Another option is to use Distutils since it knows how to build Win32
Python extensions using either Mingw gcc or Cygwin gcc -mno-cygwin.

Jason

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