The Makefile definitely does not work on wsl. I made now a VM with Ubuntu and there it will compile to some extent. However also there I have a missing file:
In file included from /home/thomas/nodemcu-firmware-esp32/components/luac_cross/../lua/lua.h:18:0,
/home/thomas/nodemcu-firmware-esp32/components/luac_cross/../lua/luaconf.h:305:10: fatal error: readline/readline.h: No such file or directory
modules/in the flash file system and at boot time inject
modules/*.sointo the firmware memory? (I'd like it to ignore subdirs, reasons on demand.)
dlmopencan provide a custom namespace.
fdlopenif available can at least load from a file descriptor instead of requiring the library to have a path on a file system, so someone here used it to read from a memory-backed file, and there's a proof of concept project to demonstrate that the file burden is (as expected) entirely a historical choice.