lua-users home
lua-l archive

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

Hello Jerome,

Wednesday, December 9, 2009, 1:29:01 PM, you wrote:

> One way to avoid problems with libc runtimes on windows is to link
> them statically. I did that on one of my projects and it can greatly
> simplify deployment. It slightly increases DLL sizes, but that's still
> reasonnable (iirc lua51.dll grew from 160k to 250k or so).

if you really need it, the best way is to compile with VC 6.0 or GCC (any)
and use their libraries. these libs were included in Windows since
Win98 or so, so client machine almost always have it. i have 142kb dll
compiled with gcc -Os, and Lua itself is somewhat like 100-120kb of
it. unfortunately, i doesn't know the same secret for 64-bit dll

Best regards,