FYI, Building from CVS today, I needed to add some __MINGW32__ hair in
vm/builtins.c
#ifdef _WIN32
#ifdef __MINGW32__
#undef setjmp
#define setjmp _setjmp
#endif
long _ftol( double f );
long _ftol2( double f) { return _ftol(f); };
#endif
Then the vm build seemed to go fine (with hacked Makefile) except for
libs/std/string.c:96: warning: conflicting types for built-in function 'sprintf'
Next I had to change
compiler:
(cd src; ${NEKO_EXEC} nekoml -v neko/Main.nml nekoml/Main.nml)
to
compiler:
(cd src; ${NEKO_EXEC} ../boot/nekoml -v neko/Main.nml nekoml/Main.nml)
to avoid
(cd src; LD_LIBRARY_PATH=../bin: NEKOPATH=../boot:../bin ../bin/neko nekoml -v
neko/Main.nml nekoml/Main.nml)
Uncaught exception - load.c(167) : Module not found : nekoml
Instead I got a hard crash with
(cd src; LD_LIBRARY_PATH=../bin: NEKOPATH=../boot:../bin ../bin/neko
../boot/nekoml -v neko/Main.nml nekoml/Main.nml)
make: *** [compiler] Error 5
and I've given up for today.
Regards,
e
--
Neko : One VM to run them all
(http://nekovm.org)