Hallo
On 12.01.2006, at 15:44, Nicolas Cannasse wrote:
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]
localhost:~/neko/bin undo$ ls -la
total 3568
drwxr-xr-x 15 undo undo 510 Jan 12 16:14 .
drwxr-xr-x 17 undo undo 578 Jan 12 14:54 ..
-rw-r--r-- 1 undo undo 10 Oct 16 23:36 .cvsignore
drwxr-xr-x 6 undo undo 204 Jan 12 14:54 CVS
-rwxr-xr-x 1 undo undo 75484 Jan 12 14:55 libneko.dylib
-rw-r--r-- 1 undo undo 20328 Jan 12 14:57 mod_neko.ndll
drwxr-xr-x 3 undo undo 102 Jan 12 14:57 mtypes
-rw-r--r-- 1 undo undo 1134480 Jan 12 14:57 mysql.ndll
-rwxr-xr-x 1 undo undo 18864 Jan 12 16:12 neko
-rwxr-xr-x 1 undo undo 19992 Jan 12 16:14 nekoboot
-rwxr-xr-x 1 undo undo 179910 Jan 12 16:14 nekoc
-rwxr-xr-x 1 undo undo 278154 Jan 12 16:14 nekoml
-rwxr-xr-x 1 undo undo 10552 Jan 12 16:14 regexp.ndll
-rwxr-xr-x 1 undo undo 71568 Jan 12 14:55 std.ndll
-rw-r--r-- 1 undo undo 175 Jan 12 16:14 test.n
also
nekoc -console seams not to work on OS X (in version 1.2)?
if I understand this right and it should be like the interactive
mode of
python or ruby (irb ) ?
What does it do ??
the console takes input but never executes it.
<nekoc -console>
localhost:~/neko/bin undo$ ./nekoc -console
> $print("Test!");
$print("Test!");
$print("Test!");
$print("Test!");
$print("Test!");
njnj
....
</nekoc -console>
Nicolas
--
Neko : One VM to run them all (http://nekovm.org)
System:
OS X 10.4.4
gcc: powerpc-apple-darwin8-gcc-4.0.1
Luzifer
--
Neko : One VM to run them all (http://nekovm.org)