Subject: Re: Problem building python extensions
From: Jason Tishler <[email-masked]>
To: "Darrell R. Hougen" <[email-masked]>
Cc: [email-masked], [email-masked]
Date: Wed, 26 Sep 2001 08:51:04 -0400

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/