[Distutils] Cygwin Python Distutils Build Problem

Jason Tishler Jason.Tishler@dothill.com
Thu Feb 22 09:40:01 2001


Rene,

On Thu, Feb 22, 2001 at 12:04:41PM +0100, M.-A. Lemburg wrote:
> Rene Liebscher wrote:
> > I think the default compiler if the platform is not found in the
> > dictionary,
> > is 'unix'.
> > So it might be better to use "cygwin.*":"unix" instead of
> > "cygwin.*":"cygwin".
> > I wrote cygwinccompiler.py to handle cygwin for MSVC built Pythons,
> > but for a Cygwin built Python it seems more natural to use
> > unixccompiler.py .
> >
> > (The option help describes "unix" as "standard UNIX-style compiler"
> > and for a Cygwin Python and gcc this is the right description. )
> 
> If that works, I can fix this easily. Jason ?

Given the information above, I feel that your solution is the best.
It restores the Cygwin Python build back to what it was before Marc's
patch to ccompiler.py.  Additionally, by obviating my proposed patch to
sysconfig.py, this will prevent affecting cygwinccompiler.py's behavior
especially with regards to building extensions for MSVC Python.  This had
always concerned me, hence, requiring me to label my proposed patch as
a WAG.

> Note that I'll be more or less offline starting later today (for two
> weeks), so if this doesn't get settled today, I would appreciate if 
> someone else could make the checkins. Thanks.

Since Marc may already be gone and offline for two weeks, would you be
willing to check in this change?  Do you want me to submit a patch to SF?

Thanks,
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