Sorry to bother you with a newbie question. I'm trying to send a simple Hello World program through translate. It's failing to compile platcheck_1.c. I'm getting:
[platform:Error] c:\docume~1\pfhmmw0\locals~1\temp\usession-release-1.9-15\platcheck_1.c: In function `dump_section_PROCESS_QUERY_LIMITED_INFORMATION': [platform:Error] c:\docume~1\pfhmmw0\locals~1\temp\usession-release-1.9-15\platcheck_1.c:383: error: `PROCESS_QUERY_LIMITED_INFORMATION' undeclared (first use in this function) [platform:Error] c:\docume~1\pfhmmw0\locals~1\temp\usession-release-1.9-15\platcheck_1.c:383: error: (Each undeclared identifier is reported only once [platform:Error] c:\docume~1\pfhmmw0\locals~1\temp\usession-release-1.9-15\platcheck_1.c:383: error: for each function it appears in.) [platform:Error] c:\docume~1\pfhmmw0\locals~1\temp\usession-release-1.9-15\platcheck_1.c: In function `dump_section_PROCESS_SUSPEND_RESUME': [platform:Error] c:\docume~1\pfhmmw0\locals~1\temp\usession-release-1.9-15\platcheck_1.c:403: error: `PROCESS_SUSPEND_RESUME' undeclared (first use in this function) I tried to figure out where the values in platcheck_1.c were getting defined in the first place so I could determine what I was doing wrong, but couldn't quite get a handle on it. I'm on Windows, running MinGW through Msys. I launched translate like this: pypy-1.9/pypy.exe pypy-pypy-341e1e3821ff/pypy/translator/goal/translate.py --cc=gcc --batch hello.py The compile line that is failing looks like this: [platform:execute] gcc -c -O3 c:\docume~1\pfhmmw0\locals~1\temp\usession-release-1.9-15\gcctest.c -o c:\docume~1\pfhmmw0\locals~1\temp\usession-release-1.9-15\gcctest.o Any help would be appreciated. Do I need a different environment? Is it not MinGW/Msys friendly?
_______________________________________________ pypy-dev mailing list pypy-dev@python.org http://mail.python.org/mailman/listinfo/pypy-dev