lua-users home
lua-l archive

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


On Thu, May 20, 2010 at 10:08 AM, Gilles Ganault <gilles.ganault@free.fr> wrote:
> On Thu, 20 May 2010 15:00:48 +0200, steve donovan
> <steve.j.donovan@gmail.com> wrote:
>>There is no need - they are source and can be directly loaded using require().
>
> Mmm... So it looks like LuaRocks is like RPM on Linux, ie. it checks
> dependencies, and downloads binaries if available and source, if not

Yes.

> (in which case lua.exe or luac.exe will compile the source files on
> the fly).

For .lua sources LuaRocks will keep them as is, since they can be
loaded without being precompiled into bytecodes; in other words,
LuaRocks does not use luac.

For .c sources, it will try to compile them using whatever C compiler
it is configured to use: gcc on Linux; MSVC or MingW on Windows.

-- Hisham