lua-users home
lua-l archive

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


steve donovan wrote:
On Mon, Aug 11, 2008 at 12:01 PM, Ralph Hempel
<rhempel@hempeldesigngroup.com> wrote:
How does a library such as LuaSocket or LuaFilesystem link to
core Lua functions that are embedded in your EXE?

Executables can export symbols, and one links against these. This is
how SciTE extensions work, since Lua is embedded directly in the
executable.  The situation isn't that far from the Linux one.

Ah. I'm asking because my toolchain builds Lua as a small EXE and
a DLL that all the other modules also link to, and I am always
intersted in learning about all the ways that it is possible to
build an app for Windows.

Are there any specific advantages to building a monolithic Lua
executable and linking the module DLLs against it?

Ralph