Konstantin Tcholokachvili a écrit :
Helllo,
In order to make a proof of concept OS kernel based on a VM I would know
if it's possible to statically link NekoVM to my kernel.
If I understood correctly until now NekoVM is only dynamically linked.
Can someone give his insight on this subject?
You might have a look at xcross (http://code.google.com/p/xcross) which
does link statically the VM. It compiles neko with NEKO_STANDALONE flag
which enable you to customize the way the VM is initialized.
However, primitives are still resolved dynamically with dlsym() (after a
dlopen(NULL)). You might prefer to create yourself a list of primitives
and have a custom loader resolve them (see code in neko/vm/load.c)
Nicolas
--
Neko : One VM to run them all
(http://nekovm.org)