lua-users home
lua-l archive

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



I've been observing this discussion of lua libraries and
transportability, static versus dynamic, etc. For lua
libs to be portable both statically, and dynamically, two
things are necessary.

1. Some means of concatenating libraries to the lua executable
   that can be detected by the lua executable, allowing it to
   process and make available to lua programs those concatenated
   libs. This gets around all the linkers and compilers necessary
   for any of the other schemes that I have seen.

2. A specific library concatenatable under option 1 above for each
   platform that lua uses that will allow loadlib to work
   tranparently on that platform. Alternately, this library could
   be linked into the lua base binary for each platform.

Everett L.(Rett) Williams
rett@gvtc.com