0

pydasm をインストールしようとしていますが、エラーが発生しました。続行する方法がわかりません。pythonのバージョンは2.7、OSはWinXPです。

python setup.py build_ext --compiler=mingw32
running build_ext
building 'pydasm' extension
creating build
creating build\temp.win32-2.7
creating build\temp.win32-2.7\Release
C:\MinGW\bin\gcc.exe -mno-cygwin -mdll -O -Wall -IC:\Python27\include -IC:\Pytho
n27\include -IC:\Python27\PC -c ../libdasm.c -o build\temp.win32-2.7\Release\..\
libdasm.o
cc1.exe: error: unrecognized command line option '-mno-cygwin'
error: command 'gcc' failed with exit status 1

-mno-cygwin は最新の MinGW ではサポートされなくなったようですが、python 2.7 disutils モジュールはまだ使用しています。それを解決する方法は?

4

0 に答える 0