Dogfood v1.0.2 has been released; an alternative for building self contained Lua executables
I would like to announce the v1.0.2 release of my project 'dogfood' .
- Use lua_pcall when calling the main module and report errors to the user.
- Output all errors to stderr like the PUC Lua interpreter does.
- Output a warning for C modules that are found at one of package.cpath locations.
Dogfood is a srlua alternative for building self contained Lua executables.
The main points where dogfood differs from srlua are:
- One self containing executable.
- Can embed multiple (non-binary) Lua modules in one executable.
- No support for Lua 5.1 and older.
- Does not depend on a C compiler to build self contained Lua executables.
- Dogfood self can be build for Unix like operating systems and Windows.
Re: Dogfood v1.0.2 has been released; an alternative for building self contained Lua executables
>> diff -r ../Downloads/dogfood-master/makefile dogfood-master/makefile
>> < $(CC) $(CFLAGS) -shared -o $@ -fPIC $+
>> > $(CC) $(CFLAGS) -bundle -undefined dynamic_lookup -o $@ $+
> The flags to build the module on macOS are not accepted by GCC on Linux.
> I will try to find a solution for it.
With the following diff the makefile should build for Linux and macOS.
I don´t know if there are exceptions for other platforms.
If someone has a suggestion, tell me about it so I can fix the makefile.