lua-users home
lua-l archive

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


On Thu, Aug 15, 2013 at 6:53 PM, Lorenzo Donati <lorenzodonatibz@tiscali.it> wrote:
Moreover since I'm no C guru, I try to stick to small, simple libraries
that are easy to build. Sometimes I had to tweak makefiles (or concoct
one myself) or modify the sources to suit my needs. With such big beasts
I dare not even open the sources with an editor! ;-)

Well, I'm comfortable with C, but not with arbitrary build systems ;)

You know, it's easy to wrap up a standalone executable that contains all the binary and Lua dependencies - e.g. the Lake exe (built with luabuild) has both LuaFileSystem and winapi (which does have setenv).  If you pass it a Lua script, it runs it directly, no magic. At about 250Kb it's a bargain ;)