This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Problem building python extensions


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]