lua-users home
lua-l archive

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


> luac -o ../program.luac program.lua module1.lua module2.lua

Since, you seem to be using Lua 5.1, try my luac.lua at
	http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/#luac.lua

See
	http://lua-users.org/lists/lua-l/2008-08/msg00092.html

Just do
	lua luac.lua -L module1.lua module2.lua
	mv luac.out ../program.luac