Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Wed, 26 Sep 2001 08:51:04 -0400
From: Jason Tishler <jason@tishler.net>
To: "Darrell R. Hougen" <no.darrell.r.hougen.spam@lmco.com>
Cc: cygwin@cygwin.com, darrell.r.hougen@lmco.com
Subject: Re: Problem building python extensions
Message-ID: <20010926085104.H1280@dothill.com>
Mail-Followup-To: "Darrell R. Hougen" <no.darrell.r.hougen.spam@lmco.com>,
	cygwin@cygwin.com, darrell.r.hougen@lmco.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
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/

