Problem building python extensions

Jason Tishler jason@tishler.net
Wed Sep 26 05:49:00 GMT 2001


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/



More information about the Cygwin mailing list