Nicolas Cannasse | 21 Oct 2009 10:46
Favicon
Gravatar

Re: Building NekoVM under Windows Mobile 5/6

Boris Vnukov a écrit :
> Hello!
> I'm still trying to build NekoVM under WIndowsMobile platform.
> 
> *Status:* Boehm GC+NekoDLL compiled under WinMo. Boehm GC - tested, it's ok.
> *
> Troubles:* NekoVM won't work. In function jit_trap( jit_ctx *ctx, int n 
> ) i have a fault:
>     ...
> // restore vm
>     stack_pad(3);
>     XPush_r(VM);
>     XCall_m(neko_process_trap); >>> FAULT
>     stack_pop_pad(1,3);
> 
> The reason, as i can understand, is in this moment: ARM CPU (main target 
> hardware platform for WinMo) have different stack model than x86 CPU (?).
> *
> Question:* Can anybody help me? :)

JIT should be disabled on ARM since there's only x86 JIT.
Try to modify neko.h so it disable JIT for your platform.

Best,
Nicolas

--

-- 
Neko : One VM to run them all
(http://nekovm.org)


Gmane