stupidcache / psutil

Automatically exported from code.google.com/p/psutil
Other
0 stars 0 forks source link

cant compile on windows with MinGw #330

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. installed newest mingw32
2. python32 setup.py build -c mingw32 install

What is the expected output?
Install successfull

What do you see instead?
C:\Python32\psutil-0.6.1>python32 setup.py build -c mingw32 install
running build
running build_py
running build_ext
building '_psutil_mswindows' extension
C:\MinGW\bin\gcc.exe -mno-cygwin -mdll -O -Wall -D_WIN32_WINNT=0x0601 -D_AVAIL_W
INVER_=0x0601 -IC:\python32\include -IC:\python32\PC -c psutil/_psutil_mswindows
.c -o build\temp.win-amd64-3.2\Release\psutil\_psutil_mswindows.o
gcc: fel: okõnd kommandoradsflagga ö-mno-cygwinö
error: command 'gcc' failed with exit status 1

en translation: okõnd kommandoradsflagga ö-mno-cygwinö = unknown flag 
?-?-cygwin

What version of psutil are you using? What Python version?
Python 3.2, psutil-0.6.1

On what operating system? Is it 32bit or 64bit version?
64bit

Original issue reported on code.google.com by L.F.Kempe on 21 Sep 2012 at 12:47

GoogleCodeExporter commented 9 years ago
What is that? Cyrillic? Whatever that is I don't know what it says.
Please provide an error message in English. =)

Original comment by g.rodola on 24 Sep 2012 at 6:02

GoogleCodeExporter commented 9 years ago
It's complaining about the -mno-cygwin flag and saying it's an unknown flag. 
I'm not sure why that would happen unless there's been a change in mingw 
deprecating it? What version of MinGW is this seen under? 

Original comment by jlo...@gmail.com on 24 Sep 2012 at 6:04

GoogleCodeExporter commented 9 years ago
I am using the newest MinGw from "g++ -v" i get 4.7.0

Original comment by L.F.Kempe on 24 Sep 2012 at 9:48