Luzifer Altenberg wrote:
Hallo
the former error is back on OS X 1.2.1
localhost:~ undo$ nekoc
Uncaught exception - [EMAIL PROTECTED]
Did you compile from CVS ? I didn't make 1.2.1 TGZ package.
I did compile from CVS.
Could you print the value of "data_pos" in vm/main.c
it should be equal to the size of the "neko" compiled binary.
I added line 145 to vm/main.c
printf("data_pos %d \n", data_pos);
localhost:~/neko/bin undo$ nekoc
data_pos -1337393152
Uncaught exception - [EMAIL PROTECTED]
Try to print it AFTER the
if( neko_is_big_endian() )
...
On OSX it should run the line in "neko_is_big_endian()".
That should be 18864 ( -1337393152 after inversion ).
Nicolas
--
Neko : One VM to run them all (http://nekovm.org)