Hi<div><br></div><div>I don&#39;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">&lt;<a href="mailto:rorsoft@gmail.com" target="_blank">rorsoft@gmail.com</a>&gt;</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=&quot;&quot;&quot;<br>        
 e:\tem\usession-unknown-1\gcctest.c: In function 
&#39;main&#39;:<br>         
e:\tem\usession-unknown-1\gcctest.c:25:51: error: &#39;uintptr_t&#39; 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=&quot;&quot;):<br>!     includes = [&#39;stdlib.h&#39;, 
  &#39;stdio.h&#39;, &#39;sys/types.h&#39;]<br>      if <a href="http://os.name" target="_blank">os.name</a> != 
  &#39;nt&#39;:<br>          includes += 
  [&#39;inttypes.h&#39;]<br>      include_string = 
  &quot;\n&quot;.join([&quot;#include &lt;%s&gt;&quot; % 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=&quot;&quot;):<br>!     includes = [&#39;stdlib.h&#39;, 
  &#39;stdio.h&#39;, &#39;sys/types.h&#39;, &#39;stdint.h&#39;]<br>      if 
  <a href="http://os.name" target="_blank">os.name</a> != &#39;nt&#39;:<br>          
  includes += [&#39;inttypes.h&#39;]<br>      include_string = 
  &quot;\n&quot;.join([&quot;#include &lt;%s&gt;&quot; % 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 
  =[&#39;&#39;&#39;<br>          /* Lifted 
  completely from CPython 3.3 Modules/posix_module.c 
  */<br>          #include 
  &lt;malloc.h&gt; /* for _msize 
  */<br>+         #include 
  &lt;stdint.h&gt; /* 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>