Hi Nicolas, List, Neko CVS currently builds, but does not work on FreeBSD/x86 because it incorrectly assumes the machine is big endian. The enclosed patch should get things working properly on all reasonably recent BSDs.
That said, I haven't tested on anything except my ISP's installation of FreeBSD, and there may be other lingering BSD compatibility problems I didn't notice, so caveat emptor. Thanks, Dan. PS: I realise all these mails are probably getting tedious now. I'll stop soon, promise ;).
Index: vm/module.c =================================================================== RCS file: /cvsroot/neko/vm/module.c,v retrieving revision 1.21 diff -u -r1.21 module.c --- vm/module.c 18 Feb 2007 11:44:10 -0000 1.21 +++ vm/module.c 22 Apr 2007 02:51:18 -0000 @@ -26,6 +26,9 @@ DEFINE_KIND(neko_kind_module); /* Endianness macros. */ +#ifdef BSD +# include <sys/endian.h> +#endif #ifndef LITTLE_ENDIAN # define LITTLE_ENDIAN 1 #endif
-- Neko : One VM to run them all (http://nekovm.org)
