hello
I'm trying to build neko on OS X

here is what I did so far:
1. wget http://nekovm.org/_media/neko-1.6.0.tar.gz
2. tar xfvz neko-1.6.0.tar.gz; cd neko
3A. make
--> ERROR:
i686-apple-darwin8-gcc-4.0.1: unrecognized option '-shared'
i686-apple-darwin8-gcc-4.0.1: unrecognized option '-pthread'
/usr/bin/ld: Undefined symbols:
_main
collect2: ld returned 1 exit status
make: *** [bin/libneko.so] Error 1

3B. make MACOSX=1
--> ERROR:
make: [createbin] Error 1 (ignored)
cc -Wall -O3 -fPIC -fomit-frame-pointer -I vm -DCOMPACT_TABLE  -o
libs/std/process.o -c libs/std/process.c
libs/std/process.c:25:19: error: wait.h: No such file or directory
make: *** [libs/std/process.o] Error 1

3C.
vim process.c: <wait.h> --> <sys/wait.h>
make MACOSX=1
--> SUCCESS

Is this right?
I.  make MACOSX=1
II. process.c: <wait.h> --> <sys/wait.h>

maybe this could be controlled by the makefile?


regards
ben

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

Reply via email to