Daniel Fischer wrote:
> Hey all,
>
> i've successfully build neko (and it's dependency boehm-gc) on the
> OpenWRT platform- so i'm now running neko on my Asus WL-500GP router
> box (mipsel). Yay \o/ !
>
> The procedure is far from perfect (requires a working neko on the build
> host, for one. It also doesnt build nekotools et al), but i thought i'd
> share it anyway to save some work for anyone trying to achieve the same.
>
> The files to integrate in the OpenWRT ("kamikaze") build system are
> here:
> http://iterative.org/haxe/neko-wrt-0.1.tbz2
>
> I did very little to optimize size, but here are some numbers:
> 106.5k libgc.so.1.0.2
> 76.0k libneko.so
> 7.0k neko
> 7.5k regexp.ndll
> 10.5k sqlite.ndll
> 79.5k std.ndll
> 9.0k zlib.ndll
>
> BTW, there were no troubles about this in the neko code itself (giving
> some proof about it's cross-platformness), just a little with the build
> procedure...
Looks good to me, except for a few bits:
- boehm-gc has hardcoded paths, which only work on your system
- boehm-gc duplicates lots of stuff for the configure command. The default
template should be used and extended instead.
- neko relies on the path to the boehm-gc build directory, this should be
changed, so that it pulls all necessary stuff from the staging dir.
Feel free to submit it to the OpenWrt list, when those issues are fixed.
Thanks,
- Felix
--
Neko : One VM to run them all
(http://nekovm.org)