C/Cygwin/Python

Jason Tishler jason at tishler.net
Thu Aug 2 14:54:52 EDT 2001


Alexander,

On Tue, Jul 31, 2001 at 01:53:26PM -0700, Alexander V. Voinov wrote:
> Jason Tishler wrote:
> > Yes, but only if your extension does not require Posix semantics (i.e.,
> > only the standard C runtime stuff).
> >
> > IIRC, you want something like the following:
> >
> >     python setup.py build_ext --compiler=cygwin
> >
> > Note that I usually only build Cygwin Python extensions,
> 
> Do you mean that your extensions are compatible with the standard win32
> Python installation, which is built with VC?

No, in my experience Cygwin Python extensions do *not* work with Win32
Python.

> As I recall the whole point of
> special instruction for no-cygwin python extension was that only in this case
> they can be loaded into the standard python.exe

Yes, the above is correct.

> and you do not have to
> recompile the whole distribution. Is this right (meaning that you do compile
> the whole distribution)?

Sorry, but I'm not sure what you mean by "recompile the whole
distribution."

Jason

-- 
Jason Tishler
Director, Software Engineering       Phone: 732.264.8770 x235
Dot Hill Systems Corp.               Fax:   732.264.8798
82 Bethany Road, Suite 7             Email: jason at tishler.net
Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com




More information about the Python-list mailing list