[Distutils] Re: [4suite] Re: Compiling 4Suite 0.10.2beta on Windows

Jason Tishler Jason.Tishler@dothill.com
Sat Feb 17 22:41:03 2001


On Sun, Feb 18, 2001 at 01:19:45AM +0100, Martin v. Loewis wrote:
> > Is it possible to use mingw's gcc or cygwin's to build python
> > extensions on windows?
> 
> I'm not certain what the answer to that question is. Using cygwin is
> definitely a bad idea; if anything, mingw is the right approach.

I wouldn't say that using Cygwin is a bad idea -- I'd rather state that
if you do so then your extension is dependent on Cygwin's POSIX emulation
layer (i.e., cygwin1.dll) and that you need Cygwin Python to execute it.
Hence, if you are only interested in Win32 Python, then mingw is the
better choice.

However, Python 2.1a2 builds OOTB under Cygwin and supports both the
traditional (i.e. Misc/Makefile.pre.in) and distutils methods of
building shared extensions.  If interested, see the following:

    http://www.cygwin.com/ml/cygwin-apps/2001-02/msg00004.html
    http://www.cygwin.com/ml/cygwin-apps/2001-01/msg00019.html

Jason

-- 
Jason Tishler
Director, Software Engineering       Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corp.               Fax:   +1 (732) 264-8798
82 Bethany Road, Suite 7             Email: Jason.Tishler@dothill.com
Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com