From 75628f98bd4f1edb7e0ee31ca107456c19de13df Mon Sep 17 00:00:00 2001 From: Zooko O'Whielacronx Date: Thu, 13 Sep 2007 18:20:00 -0700 Subject: [PATCH] Makefile: add suggestion about how to use the distutils config file to select mingw32 compiler --- Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Makefile b/Makefile index ea7e2a25..0c47ea95 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,19 @@ # this Makefile requires GNU make +# If you get an error message like the following: + +# error: Setup script exited with error: Python was built with version 7.1 of Visual Studio, and extensions need to be built with the same version of the compiler, but it isn't installed. + +# Then that probably means that you aren't using the the right +# compiler. In that case, try creating distutils configuration file +# (as described in http://docs.python.org/inst/config-syntax.html ), +# specifying which compiler to use. For example, if you use either +# the cygwin gcc compiler with mingw support, or the MINGW compiler, +# then you can add the following lines to your .cfg file: +# [build] +# compiler=mingw32 + default: build BASE=$(shell pwd) -- 2.45.2