
I'm using Jason Creighton branch, and i am trying to test the JIT from interactive translation. Is it now allowed? I'm getting this error: NotImplementedError: --gcrootfinder=asmgcc requires standalone Or am i not setting the options correctly on the translator, here is how i'm translating. from pypy.translator.interactive import Translation t = Translation( pypy_entry_point ) t.config.translation.suggest(jit=True, jit_debug='steps', jit_backend='x86', gc='boehm') t.annotate() t.rtype() f = t.compile_c() f() complete code: http://pastebin.com/T42cqSbz demo: http://www.youtube.com/watch?v=HwbDG3Rdi_Q -brett

Hi Brett, On Thu, Jul 08, 2010 at 07:08:19PM -0700, Hart's Antler wrote:
I'm using Jason Creighton branch, and i am trying to test the JIT from interactive translation. Is it now allowed? I'm getting this error: NotImplementedError: --gcrootfinder=asmgcc requires standalone
Indeed, it is not allowed. As far as I know, the interactive translation does not support making standalone programs. You need to run translate.py as described e.g. here: http://codespeak.net/pypy/dist/pypy/doc/getting-started-python.html#translat... A bientot, Armin.

Re-hi, On Fri, Jul 09, 2010 at 09:43:51AM +0200, Armin Rigo wrote:
You need to run translate.py as described e.g. here:
... or to use pypy/jit/tl/pypyjit.py for a quick test of the JIT running on top of PyPy -- although you won't get any assembler, but only the so-called 'llgraph' backend, which emulates assembler by hand using higher-level type-safe operations. (It should be possible in theory to tweak pypyjit.py to really use the x86 backend.) A bientot, Armin.
participants (2)
-
Armin Rigo
-
Hart's Antler