[Python-checkins] CVS: python/dist/src/Lib/distutils ccompiler.py,1.38,1.39

A.M. Kuchling akuchling@users.sourceforge.net
Tue, 27 Feb 2001 11:13:17 -0800


Update of /cvsroot/python/python/dist/src/Lib/distutils
In directory usw-pr-cvs1:/tmp/cvs-serv28415

Modified Files:
	ccompiler.py 
Log Message:
Patch #403947: On Cygwin, use the Unix compiler class, and not 
 the Cygwin-specific compiler class.

 (According to Jason Tishler, cygwinccompiler needs some work to
  handle the differences in Cygwin- and MSVC-Python. Makefile and
  config files are currently ignored by cygwinccompiler, as it was
  written to support cygwin for extensions which are intended to be
  used with the standard MSVC built Python.)


Index: ccompiler.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/distutils/ccompiler.py,v
retrieving revision 1.38
retrieving revision 1.39
diff -C2 -r1.38 -r1.39
*** ccompiler.py	2001/02/19 09:20:04	1.38
--- ccompiler.py	2001/02/27 19:13:15	1.39
***************
*** 843,847 ****
  
      # Platform string mappings
!     ('cygwin.*', 'cygwin'),
      
      # OS name mappings
--- 843,850 ----
  
      # Platform string mappings
! 
!     # on a cygwin built python we can use gcc like an ordinary UNIXish
!     # compiler
!     ('cygwin.*', 'unix'),
      
      # OS name mappings