Hi!
 First: I really love the neko vm idea and I hope that it proper.

Thanks !

Now:
I'm having some trouble compiling the neko sources from cvs. My system is a Ubuntu Linux, Dapper version.

First, it can't find gc object

gcc -shared -WBsymbolic -o bin/libneko.so vm/alloc.o vm/builtins.o vm/callback.o vm/context.o vm/interp.o vm/load.o vm/objtable.o vm/others.o vm/hash.o vm/module.o -ldl -lgc -lm

/usr/bin/ld: cannot find -lgc
collect2: ld returned 1 exit status
make: *** [bin/libneko.so] Error 1

You need to install libgc-dev on your system.
You can get it from your package installer or from the homepage here : http://www.hpl.hp.com/personal/Hans_Boehm/gc/

so I added to the Makefile file at LIBNEKO_OBJECTS line but It can't compile vm/gc.c
line:
  addr = VirtualAlloc(addr,npages * PAGE_SIZE,MEM_RESERVE,PAGE_READWRITE);

vm/gc.c:176: error: 'MEM_RESERVE' undeclared (first use in this function)

I don't find where these constants are defined. I'd searched all the files.

This is an experimental GC that only works on Windows right now. It's not used in Neko, but might be in the future.

Nicolas

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

Reply via email to