Re: Creating a statically linked executable for a LuaJIT+C program

  • From: Mike Pall <mike-1210@xxxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Sun, 28 Oct 2012 13:40:45 +0100

Markus Walther wrote:
> - why does luajit require root for some tasks on OS X, could the error
> message be improved to indicate this?

It does not. You've probably installed it as root with the wrong
umask.

> - would creating a statically linked standalone executable for a pure
> Lua file still involve a minimal C wrapper file
>  that creates a new Lua state L, maybe opens standard libraries and
> then ends in a luaL_dostring(L,"require('module')")?

Sure. I mean ... what's the question?

--Mike

Other related posts: