lua-users home
lua-l archive

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

2010/1/15 Ignacio Burgueño <>:
> On 15/01/2010 09:33, Jerome Vuarand wrote:
>> Another option is to remove the dependency on the VC runtime by
>> linking with the static libc (whatever the compiler used, VC8, VC9 or
>> GCC). I'm doing that to release small apps based on Lua, and it's
>> working great.
> Please correct me, but Lua + LuaFileSystem will never work. LFS needs to use
> the same C runtime that Lua uses.

I can't tell for sure, but from a quick look at the LFS manual I think
the lock, unlock and setmode functions will require a common C
runtime. I already used projects with Lua, LFS and the libc statically
linked in, but I never used these three functions.