Onivim 2 Code Editor

Decided to take a look at onivim2 as it appears to be open source now.

First, can’t find a place to download a binary, for anything (or any way to pay for it either).

So cloning it (what on earth node?!?), compiling… and crash:

    signals_nat.c:184:13: error: variably modified 'sig_alt_stack' at file scope
      184 | static char sig_alt_stack[SIGSTKSZ];
          |             ^~~~~~~~~~~~~
    make[3]: *** [Makefile:367: signals_nat.n.o] Error 1

Ooooh, now that’s interesting, it’s core is made in OCaml, an old version of OCaml, that’s compiling with -D_GNU_SOURCE, but assuming POSIX interface (non-_GNU_SOURCE), which was fixed in OCaml a little while ago, the version of OCaml (that they’ve embedded the compiler in, that’s… really weird, I have ocaml up to date on my system, why not just use that one?!) is too old to build on modern systems, that’s… an interesting start… ^.^;

I don’t have time to try upgrading it myself right now, gotta go, maybe tomorrow… ^.^;

3 Likes