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

  • From: Mike Pall <mike-1210@xxxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Thu, 25 Oct 2012 23:35:56 +0200

Luke Gorrie wrote:
> I have an application written in LuaJIT + C that I would love to
> convert into a single file statically linked executable. Is there a
> good way to do this?

Use embedded bytecode:
  http://luajit.org/running.html#opt_b

Take particular note of the last three paragraphs.

--Mike

Other related posts: