lua-users home
lua-l archive

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


On Fri, Apr 01, 2005 at 10:30:28AM -0300, Roberto Ierusalimschy wrote:
> So, another poll: in Unix systems, should the standard makefile
> create static libraries (.a)? Does anyone still needs the standard
> liblua.a/liblualib.a files? Maybe the standard makefile could create
> only the 'lua' executable...

When cross-compiling on Unix for an embedded target, static libraries
are extremely important.

I also tend to link Lua statically in my Linux binaries, since it's
very small and a lot of systems don't have Lua installed--we have lots
of runtime deps, so being able to cut down on one of them (as well as
eliminating version differences) is worth the small bloat.

-- 
Glenn Maynard