lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

On Mon, Apr 9, 2018 at 9:52 PM, Philipp Janda <> wrote:
Am 10.04.2018 um 06:15 schröbte Russell Haley:


I've finally managed to get the pieces together to run Lua in the RTEMS
operating system. A big shout out to whoever lparam is:

Anyway, now that I can load a hello world string and iterate a table, I was
wondering about actually doing something with Lua. For my first attempt I
would like to load penlight. I'm using the sparc erc32 (default) build with
their emulator and it doesn't have a filesystem. errr... Help?

To be sure, I have no idea what I'm even looking for. I've asked a similar
question on the RTEMS mailing list and there is some information about
loading a tar based FS, as well as reading ELF binaries (?Really?). I'll be
doing some digging on those items, but any advice would be grand.

I'd use one of the various amalgamation scripts, put the resulting single big script into a char array, and load it from there. But a searcher that loads from a tar would be cool (and probably also useful for others) as well.

Hi Phillipp, 

Thanks for the vote of confidence on the big-ole-char-array. I'll probably start with that while I try to absorb the technical madness that pours forth from Mr. Connor.