Hacker News new | ask | show | jobs
by jpfr 3590 days ago
Lua has great support for cross-compiling. It is written in the subset of features available in both (ANSI and more recent) C and C++.

https://www.lua.org/manual/5.2/manual.html

1 comments

Not denying that. Lua by itself is easy. The thing is, to compile Zile, you need to first x-compile Lua, then x-compile luarocks, install the necessary Lua packages, then continue with x-compiling zile.

Comparatively, I've found that x-compiling vanilla emacs `--without-x` is often more easier and faster.

X-compiling Mg is more or less "gcc *.c" which is very straight-forward.