![](https://secure.gravatar.com/avatar/3d5a540f00cbb2cc4e09ae5913fa781a.jpg?s=120&d=mm&r=g)
On 29 June 2000, Norman Vine said:
FWIW I compile Python with Cygwin routinely and I do not have "__GNUC__" anywhere in my config.h file [...]
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 :-))
No; as I understand it, the CygwinCCompiler class will allow you to build extensions using GCC (Cygwin or MingW32!) with the stock Python binary, as long as you have a libpython.a around. (It also requires changes to Python's config.h, but I believe Fred checked those in a few days ago.) This is a big win: let Guido's employer shell out for MSVC++, but you can use a free compiler to build extensions for Windows without having to build Python yourself. Greg -- Greg Ward - geek-on-the-loose gward@python.net http://starship.python.net/~gward/ A closed mouth gathers no foot.