Add step which was reqired for me to get the mingw compiler used when there was another gcc on the path

[Imported from Trac: page AdvancedInstall, version 49]
marcusw 2011-11-20 20:52:06 +00:00
parent cb5e3db155
commit a20a1c94b8

@ -309,7 +309,7 @@ The build or install steps could result in an error that says a compiler is need
2. Early versions of 5.1.x of MinGW had a bug in the bundled Gnu assembler. If typing "`as --version`" at the command line gives "`GNU assembler (GNU Binutils) 2.20`", then you have an affected version. To fix this, download an upgrade to a newer version of MinGW which has `GNU assembler (GNU Binutils) 2.20.51.20100613` or later. 2. Early versions of 5.1.x of MinGW had a bug in the bundled Gnu assembler. If typing "`as --version`" at the command line gives "`GNU assembler (GNU Binutils) 2.20`", then you have an affected version. To fix this, download an upgrade to a newer version of MinGW which has `GNU assembler (GNU Binutils) 2.20.51.20100613` or later.
3. Configure distutils to use MinGW. To configure distutils to use mingw32, create a file called [http://tahoe-lafs.org/trac/tahoe-lafs/raw-attachment/wiki/AdvancedInstall/distutils.cfg distutils.cfg] in `C:\Python26\lib\distutils`, and put in that file: 3. Configure distutils to use MinGW. If you have another C/C++ compiler installed, such as the cygwin one, distutils may default to using it instead of the mingw one. To configure distutils to use mingw32, create a file called [http://tahoe-lafs.org/trac/tahoe-lafs/raw-attachment/wiki/AdvancedInstall/distutils.cfg distutils.cfg] in `C:\Python26\lib\distutils`, and put in that file (you may also need to use the script from [http://mail.python.org/pipermail/python-dev/2004-January/041676.html this email] in order to "register" the mingw compiler):
``` ```
[build] [build]