Re: [pypy-dev] Build pypy 1.6 on Windows XP with MinGW: can't find ffi.h

2011-08-19 Thread Caleb Hattingh
On 19 August 2011 21:29, Amaury Forgeot d'Arc wrote: > Actually it's enough to change the declaration of ssize_t in > multibytecodec.h: long instead of int. Ok, I am going to give that a shot. MSVC also failed (with a very long list of errors). Back to mingw it is. regards Caleb _

Re: [pypy-dev] Build pypy 1.6 on Windows XP with MinGW: can't find ffi.h

2011-08-19 Thread Amaury Forgeot d'Arc
Actually it's enough to change the declaration of ssize_t in multibytecodec.h: long instead of int. Amaury Forgeot d'Arc Le 19 août 2011 21:20, "Caleb Hattingh" a écrit : > On 19 August 2011 18:55, Caleb Hattingh wrote: >> I ran out of memory some time after the JIT had successfully compiled, >>

Re: [pypy-dev] Build pypy 1.6 on Windows XP with MinGW: can't find ffi.h

2011-08-19 Thread Caleb Hattingh
On 19 August 2011 18:55, Caleb Hattingh wrote: > I ran out of memory some time after the JIT had successfully compiled, > so now I am trying > > PYPY_GC_MAX_DELTA=200MB pypy --jit loop_longevity=300 ./translate.py -Ojit > > as suggested in the help page.  Will post here again if I succeed. Unfort

Re: [pypy-dev] Build pypy 1.6 on Windows XP with MinGW: can't find ffi.h

2011-08-19 Thread Caleb Hattingh
On 19 August 2011 16:04, Amaury Forgeot d'Arc wrote: > 2011/8/19 Caleb Hattingh > I had the same issue with a machine where libffi-dev is not available. > The first fix is to modify pypy/jit/metainterp/optimizeopt/fficall.py > and move the line "from pypy.rlib.libffi import Func" shortly before >

Re: [pypy-dev] Build pypy 1.6 on Windows XP with MinGW: can't find ffi.h

2011-08-19 Thread Amaury Forgeot d'Arc
2011/8/19 Caleb Hattingh > On 19 August 2011 14:48, Caleb Hattingh wrote: > > I have tried placing ffi.h (and ffi_common.h and ffitarget.h) in > > various strategic places, but to no avail. > > It seems this particular problem (libffi for mingw) was discussed in > IRC by Varriount: > > http://ww

Re: [pypy-dev] Build pypy 1.6 on Windows XP with MinGW: can't find ffi.h

2011-08-19 Thread Caleb Hattingh
On 19 August 2011 14:48, Caleb Hattingh wrote: > I have tried placing ffi.h (and ffi_common.h and ffitarget.h) in > various strategic places, but to no avail. It seems this particular problem (libffi for mingw) was discussed in IRC by Varriount: http://www.tismer.com/pypy/irc-logs/pypy/pypy.2011

[pypy-dev] Build pypy 1.6 on Windows XP with MinGW: can't find ffi.h

2011-08-19 Thread Caleb Hattingh
Hi This is a really silly thing, but I am hoping someone who has done this before can just give me the one-liner answer. I am trying to build pypy 1.6 on Windows XP using MinGW (in an MSYS environment). The build gets started, and I see a bit of Mandelbrot, but when the time comes for JIT, I ge