> Hi,
> 
> I'm begining to toy with neko, and the first thing I tryed to do was modifing
> the compilation process. I wanted to remove compilation of already compiled
> modules. (not a big deal, but I have to begin somewhere ! lol)
> 
> So I lurked in the sources, searching for "Compiling" string.
> I saw that it was used 3 times in the .nml. I changed the source code with
> "Compiling1" "Compiling2", "Compiling3" and... what a surprise, none of them
> where printed on screen after full recompilation. (I even try a "make
> install").
> 
> Then I saw boot/nekoc.n  and boot/nekoml.n
> woops !
> 
> So the string "Compiling" came from this files (a grep told me so) but, there
> are not recompiled ! and more than that I cannot even find a nekoc.n in the 
> bin
> directory  where it should be regenerated (unless I'm wrong).
> 
> After that I saw src/Makefile, but it don't seem to work (I'm under an
> Ubuntu/Linux)...
> 
> I give up here and write this message.
> 
> can't we really bootstrap recompile neko ?

Yes, you can.

I slightly modified the Makefile and the install so that boot/nekoc.n
and boot/nekoml.n get updated when doing just "make compiler". I'm using
myself src/Makefile which is a 3 pass bootstrapping phase, necessary
when making incompatible changes to the bytecode.

Nicolas

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

Reply via email to