From: George K. <xke...@ne...> - 2012-08-26 18:13:17
|
On 8/26/2012 5:33 PM, Virgil Stokes wrote: > Yes, but I am confused on this --- I would like to use the gcc in mingw-w64; > but, have not figured out how I can do this. For example, suppose I have an IDE > that I would like to force it to use the gcc in MinGW-w64 --- how would I do > this? Each compiler is an .exe file. For example, I have MinGW32 at C:\MinGW\bin\cc.exe C:\MinGW\bin\gcc.exe C:\MinGW\bin\mingw32-cc.exe C:\MinGW\bin\mingw32-gcc.exe Because C:\MinGW\bin is in my PATH, I can run this compiler as 'cc', 'gcc', 'mingw32-cc', or 'mingw32-gcc'. All four of these are really the same compiler. Many IDEs or build systems use 'cc' or 'gcc' by default. To use some other compiler, you would point your IDE or build system to the .exe file for the other compiler. Your setup.py uses distutils, so read the manual at http://docs.python.org/install/index.html You might run $ python setup.py build --compiler=something You might write a pydistutils.cfg file, so distutils always uses the other compiler. --George Koehler |