[issue8384] Distutils C extension build with MinGW on Windows fails

2010-04-17 Thread anatoly techtonik
anatoly techtonik added the comment: To me a better option would be an ability to specify a path to compiler from command line. --compiler-path=./mingw/bin/gcc.exe -- nosy: +techtonik ___ Python tracker _

[issue8384] Distutils C extension build with MinGW on Windows fails

2010-04-14 Thread Tarek Ziadé
Tarek Ziadé added the comment: Ok thanks for you test. If it can't get the ld version I'll display this message: "could not detect the ld version. Make sure MinGW is installed and its bin directory is in the path" I'll do this for 2.7/3.2 -- priority: -> low type: crash -> behavior

[issue8384] Distutils C extension build with MinGW on Windows fails

2010-04-14 Thread Amaury Forgeot d'Arc
Changes by Amaury Forgeot d'Arc : -- keywords: +easy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue8384] Distutils C extension build with MinGW on Windows fails

2010-04-13 Thread Craig McQueen
Craig McQueen added the comment: I just realised--I didn't have c:\mingw\bin in my path. Once I added that to the path, then the build worked fine. So I guess the issue is only that the error message is somewhat cryptic. -- ___ Python tracker

[issue8384] Distutils C extension build with MinGW on Windows fails

2010-04-13 Thread Craig McQueen
Craig McQueen added the comment: \MinGW\bin\ld.exe -v GNU ld (GNU Binutils) 2.20 -- ___ Python tracker ___ ___ Python-bugs-list maili

[issue8384] Distutils C extension build with MinGW on Windows fails

2010-04-13 Thread Sridhar Ratnakumar
Changes by Sridhar Ratnakumar : -- components: +Windows ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue8384] Distutils C extension build with MinGW on Windows fails

2010-04-13 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Can you run the following command: ld -v and paste the result? -- nosy: +amaury.forgeotdarc ___ Python tracker ___

[issue8384] Distutils C extension build with MinGW on Windows fails

2010-04-12 Thread Craig McQueen
New submission from Craig McQueen : I tried to build a C extension in Python 3.1.2. \Python31\python.exe setup.py build --compiler=mingw32 I got a stack-trace: ... File "C:\Python31\lib\distutils\cygwinccompiler.py", line 280, in __init__ CygwinCCompiler.__init__ (self, verbose, dry_