Closed benoit-pierre closed 2 months ago
Cute, though I'm not entirely sure what to think about what amounts to duplicating https://github.com/koreader/ffi-cdecl/
That's what I started with. But on the meson branch, with all the nice pkg-config entries, I wanted something more convenient to use. Plus support for newer GCCs.
Cute, though I'm not entirely sure what to think about what amounts to duplicating https://github.com/koreader/ffi-cdecl/
Wouldn't look so bad if we could pull in ffi-cdecl.lua
directly instead of duplicating it (at a quick glance, only the package search paths are different?).
On the upside, that made me realize that I managed to miss the fact that you fixed the GCC 13 enum issue last summer ;p.
(i.e., https://github.com/koreader/ffi-cdecl/ needs to bump its deps, too).
OK, updated to use koreader/ffi-cdecl. With support for cross-compilers too.
Only for native emulator builds with GCC: after compiling base, use
make gcc-lua-cdecl
to compile and install to staging a small helper script and everything needed to run it. Example use:This change is