lua-users home
lua-l archive

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

--- Diego Nehab <> wrote:

> Hi,
> How about we compile Lua and all Lua extension
> libraries in
> LuaBinaries against a stub CRT DLL. 
That would be good but quite complex.

I am thinking if it is necessary to use MSVCRT.DLL at
all ? My understanding is that it is necessary mainly
in the area where file handles(both FILE * as well as
the fileno as it seems to have one more level of
indirection in Windows so stdin(0) is something inside
the CRT rather than a handle of the process). So if we
can be sure that these things are only used inside
luasocket, can it be just compiled with /MT instead of
/MD so the C functions are statically linked ?

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around