lua-users home
lua-l archive

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


On Tue, Mar 31, 2015 at 4:32 AM, Nicolas CARRIER
<carrier.nicolas0@gmail.com> wrote:
> Hello,
>
> I'm proud to announce the first public release of luawrapper, version 0.2.1.
>
> Luawrapper is a simple C interpreter, with a companion script, which can be
> used to build an autonomous statically precompiled binary from a lua script,
> allowing to use it with no dependency installed. This includes it's C or lua
> dependencies and even lua itself.
> The principle is simple, a lua interpreter is built, linked with all the C
> dependencies. Then the lua dependencies are wrapped in the resulting
> executable as additional elf sections.
>
> Because only the elf format is targeted, this approach should work only on
> platforms able to execute it. It has been tested on debian x86 64 and 32
> bits and on 32 bits arm targets.
>
> One use case this project allows, is to build tools that are self contained
> and which can be put in a usb key and used for debugging purpose, regardless
> of what is installed on the system.
>
> Luawrapper can be downloaded here :
>
> https://github.com/ncarrier/luawrapper
>
>
> Any feed back is welcome.

Hello,

thank you for the great work!

I want to share links to some related projects:

 * CDE [1] gathers all files used by a process (including .so files)
as a single package (not single file). It can be used to convert Lua
package to tar.gz package with binary files.
 * Ermine [2] is non-free application, which converts an application
using shared libraries to a static application. 30-days free limited
version is available.

[1] https://github.com/pgbovine/CDE
[2] http://www.magicermine.com/sesl.html


Best regards,
Boris Nagaev