[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: RE: Packaging Lua libraries
- From: "Danilo Tuler" <tuler@...>
- Date: Tue, 30 Mar 2004 10:31:38 -0300
I agree with almost every suggestion you make.
But as you say it's a little oriented to UNIX-like systems.
In Windows I like to build import libraries for DLLs, instead of relying on
Theses import libraries have the .lib extension.
So how do we name the static libraries? Every static library is prefixed
lua.dll (lua core dll)
lua.lib (lua.dll import library)
liblua.lib (lua core static library)
lualib.dll (lua standard library dll)
lualib.lib (lualib.dll import library)
liblualib.lib (lua standard library static library)
Besides, every library has a "debug" version (with debug info and without
optimization) and a "release" version (without debug info and with
optimization). The debug versions are suffixed with a "d".
So I also have:
luad.dll (lua core dll)
luad.lib (lua.dll import library)
libluad.lib (lua core static library)
lualibd.dll (lua standard library dll)
lualibd.lib (lualib.dll import library)
liblualibd.lib (lua standard library static library)
> -----Original Message-----
> From: email@example.com
> [mailto:firstname.lastname@example.org] On Behalf Of Andre Nathan
> Sent: terça-feira, 30 de março de 2004 09:11
> To: email@example.com
> Subject: Packaging Lua libraries
> One of the problems that I believe Lua users have (specially
> people new to the language) is when they need to use
> third-party libraries. IMHO, there's a need for some
> standardization regarding the packaging of those libraries,
> when it comes to installation paths, file names, etc.
> I have set up at  a small list of points that I believe
> would contribute to the standardization of the packaging of
> third-party libraries.
> Please don't think these are rules I am trying to enforce to
> library writers. This is just meant as a starting point for a
> debate which I believe would be beneficial to the Lua
> community in general, and the suggestions listed there can
> (and will) be changed according to the community's point of
> view and feedback.
> Best regards,
> Diplomacy is the art of saying "nice doggie" until you can
> find a rock.
> -- Wynn Catlin