4 ms·
My favourite Emacs clone is mg [1] from OpenBSD, but packages exist for Linux as well. I've cross-compiled it to many ARM embedded systems. Earlier, I used to u
by satbyy 10y ago
My favourite Emacs clone is mg [1] from OpenBSD, but packages exist for Linux as well. I've cross-compiled it to many ARM embedded systems. Earlier, I used to use Zile, but they moved to Lua which made cross-compiling harder (so gcc / binutils are no longer enough).
[1]: http://homepage.boetes.org/software/mg/ http://homepage.boetes.org/software/mg/
- jpfr 10y agoLua 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 https://www.lua.org/manual/5.2/manual.html
- satbyy 10y agoNot 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.