[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Compiling pure Lua project into singe file
- From: "Leandro Candido" <enclle@...>
- Date: Sun, 13 Feb 2005 17:30:01 -0300
Hello Mike,
What alternative do I have?
Are you using dofile("compat.lua"), or something like this?
Well, aren´t you adding compat.lua in the call to luac? Like:
luac -o all.luo file1.lua ... filen.lua compat.lua
Well, remove the dofile line and add compat.lua as the first file to luac:
luac -o all.luo compat.lua file1.lua ...
The same for others "dofiled" files that is already "packaged" using luac.
And if you want to make an "executable" of your scripts, use the bin2c file
in etc directory of lua, read the readme file in this directory to see how
to use it.
God bless you,
Leandro.