Hi<div><br></div><div>I don't know about the github mirror, the official one is on bitbucket.</div><div><br></div><div>Cheers,\</div><div>fijal<br><br><div class="gmail_quote">On Wed, May 23, 2012 at 6:07 AM, bookaa <span dir="ltr"><<a href="mailto:rorsoft@gmail.com" target="_blank">rorsoft@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div style="PADDING-LEFT:10px;PADDING-RIGHT:10px;PADDING-TOP:15px" name="Compose message area"><font face="Calibri">
<div><br>I download last version of PyPy source from <a href="https://github.com/pypy/pypy" target="_blank">https://github.com/pypy/pypy</a><br>in
MinGW32 (mingw-get-inst-20120426.exe),
run:<br> pypy/bin/py.py --cc=mingw32-gcc<br>get
error:<br> pypy.translator.platform.CompilationError:
CompilationError(err="""<br>
e:\tem\usession-unknown-1\gcctest.c: In function
'main':<br>
e:\tem\usession-unknown-1\gcctest.c:25:51: error: 'uintptr_t' undeclared (first
use in this function)</div>
<div> </div>
<div>this is how I fix this bug:</div>
<blockquote style="MARGIN-RIGHT:0px" dir="ltr">
<div><font color="#ff9900">diff -crN pypy\rpython\tool\rfficache.py
pypy\rpython\tool\<a href="http://rfficache.bookaa.py" target="_blank">rfficache.bookaa.py</a><br>***
pypy\rpython\tool\rfficache.py Mon May 21 14:45:32 2012<br>---
pypy\rpython\tool\<a href="http://rfficache.bookaa.py" target="_blank">rfficache.bookaa.py</a> Wed May 23 08:07:33
2012<br>***************<br>*** 13,19 ****<br> from pypy.tool.gcc_cache
import build_executable_cache<br> <br> def ask_gcc(question,
add_source=""):<br>! includes = ['stdlib.h',
'stdio.h', 'sys/types.h']<br> if <a href="http://os.name" target="_blank">os.name</a> !=
'nt':<br> includes +=
['inttypes.h']<br> include_string =
"\n".join(["#include <%s>" % i for i in includes])<br>--- 13,19
----<br> from pypy.tool.gcc_cache import
build_executable_cache<br> <br> def ask_gcc(question,
add_source=""):<br>! includes = ['stdlib.h',
'stdio.h', 'sys/types.h', 'stdint.h']<br> if
<a href="http://os.name" target="_blank">os.name</a> != 'nt':<br>
includes += ['inttypes.h']<br> include_string =
"\n".join(["#include <%s>" % i for i in includes])<br>diff -crN
pypy\rlib\rposix.py pypy\rlib\<a href="http://rposix.bookaa.py" target="_blank">rposix.bookaa.py</a><br>***
pypy\rlib\rposix.py Mon May 21 14:45:32 2012<br>---
pypy\rlib\<a href="http://rposix.bookaa.py" target="_blank">rposix.bookaa.py</a> Wed May 23 08:29:36
2012<br>***************<br>*** 24,29 ****<br>--- 24,30
----<br> separate_module_sources
=['''<br> /* Lifted
completely from CPython 3.3 Modules/posix_module.c
*/<br> #include
<malloc.h> /* for _msize
*/<br>+ #include
<stdint.h> /* for intptr_t
*/<br> typedef struct
{<br>
intptr_t
osfhnd;<br>
char osfile;<br></font></div></blockquote>
<div> </div></font></div>
<br>_______________________________________________<br>
pypy-dev mailing list<br>
<a href="mailto:pypy-dev@python.org">pypy-dev@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/pypy-dev" target="_blank">http://mail.python.org/mailman/listinfo/pypy-dev</a><br>
<br></blockquote></div><br></div>