Issue 7629: Compiling with mingw32 gcc, content of variable "extra_postargs" invalid (original) (raw)
Issue7629
Created on 2010-01-04 02:17 by popelkopp, last changed 2022-04-11 14:56 by admin. This issue is now closed.
Messages (2) | ||
---|---|---|
msg97187 - (view) | Author: Markus (popelkopp) | Date: 2010-01-04 02:17 |
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. | ||
msg97188 - (view) | Author: Markus (popelkopp) | Date: 2010-01-04 02:30 |
Sorry, my fault. "/MT" was given in "setup.py" of "pylzma". I didn't search properly. Please close. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:56:56 | admin | set | github: 51878 |
2010-01-04 02:51:19 | r.david.murray | set | status: open -> closedresolution: not a bug |
2010-01-04 02:30:21 | popelkopp | set | messages: + |
2010-01-04 02:17:15 | popelkopp | create |