Rene Liebscher writes:
---- CygwinCCompiler ------------
OK, it should now be better to read. I also included your other changes (set_executables, build_temp.)
I just noticed that cygwinccompiler has been added to distutils :-)) One minor nitpick from cygwinccompiler.py # Because these compilers aren't configured in Python's config.h file by default # we should at least warn the user if he is using a unmodified version. def check_config_h(): """ checks, if the gcc-compiler is mentioned in config.h if it is not, compiling probably doesn't work """ FWIW I compile Python with Cygwin routinely and I do not have "__GNUC__" anywhere in my config.h file however given NHV:/f/jnk2> python Python 1.6a2 (#12, Jun 22 2000, 08:18:57) [GCC 2.95.2 19991024 (release-2)] on cygwin_98-4.101 Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam Copyright 1995-2000 Corporation for National Research Initiatives (CNRI)
import sys sys.version '1.6a2 (#12, Jun 22 2000, 08:18:57) [GCC 2.95.2 19991024 (release-2)]'
perhaps checking for "GCC" in sys.version will do what we want :-)) Norman Vine