New submission from Markus <hardcoreve...@gmx.de>:

I tried to build "pylzma" with "python setup.py build -cmingw32" and got the 
following message.

C:\MinGW\bin\gcc.exe -mno-cygwin -mdll -O -Wall -DWIN32=1 -DCOMPRESS_MF_MT=1 
-DWITH_COMPAT=1 -IC:\work\dev\Python26\include -I. 
-IC:\work\dev\Python26\include -IC:\work\dev\Python26\PC -c pylzma.c -o 
build\temp.win32-2.6\Release\pylzma.o /MT
gcc: /MT: No such file or directory

"/MT" is the content of variable "extra_postargs" in "cygwinccompiler.py" upon 
the gcc call. Oddly "/MT" is a switch of the MSVC compiler not MinGW.
I modified "cygwinccompiler.py" and cleared extra_postargs with "[]" it 
compiled without a problem then.

----------
assignee: tarek
components: Distutils
messages: 97187
nosy: popelkopp, tarek
severity: normal
status: open
title: Compiling with mingw32 gcc, content of variable "extra_postargs" invalid
versions: Python 2.6

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue7629>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to