[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: (no subject)
- From: "Timm S. Mueller" <tmueller@...>
- Date: Mon, 3 Feb 2014 12:45:40 +0100
On Mon, 3 Feb 2014 09:03:14 -0200
Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br> wrote:
> > 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
$ lua ./program.luac
lua: not enough memory
As far as I remember, this stopped working on x86/64.
I'd be very much interested in a solution for the same for Lua 5.2 and
all architectures.
If there is no all-encompassing solution available, some ideas and
comments on a more lasting, more canonical design of a Lua module
compiler/linker would be appreciated. Or could this become an addition
to the standard Lua distribution, to guarantee its sustainability?
- Timm
--
Timm S. Mueller <tmueller@schulze-mueller.de>
Schulze & Mueller GbR, Jungstr. 2, 10247 Berlin,
Gesellschafter: Franciska Schulze, Timm S. Mueller,
Tel. +49 30 85610000, http://www.schulze-mueller.de/