[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lua Makefiles
- From: Ralph Hempel <rhempel@...>
- Date: Mon, 11 Aug 2008 06:39:51 -0400
steve donovan wrote:
On Mon, Aug 11, 2008 at 12:01 PM, Ralph Hempel
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?