Linux shared library for Lua
#3
I have found out how luarocks work on linux in the meantime - the luarocks' shared libraries use symbols exported from the lua executable itself. The problem for MCServer is that it doesn't export those lua symbols by default, and the only way I found to export the lua symbols is to export *all* symbols. That, however, makes the executable quite large, among other things. Anyone know of a better solution? I need something like __declspec(dllexport) in MSVC; I've tried the __attribute__((visibility("default"))) but it doesn't seem to work.
Reply
Thanks given by:


Messages In This Thread
Linux shared library for Lua - by xoft - 12-02-2013, 06:50 AM
RE: Linux shared library for Lua - by SamJBarney - 12-02-2013, 09:40 AM
RE: Linux shared library for Lua - by xoft - 12-02-2013, 04:21 PM
RE: Linux shared library for Lua - by SamJBarney - 12-03-2013, 02:38 AM
RE: Linux shared library for Lua - by xoft - 12-03-2013, 02:51 AM
RE: Linux shared library for Lua - by SamJBarney - 12-03-2013, 03:35 AM
RE: Linux shared library for Lua - by xoft - 12-03-2013, 07:36 AM
RE: Linux shared library for Lua - by NiLSPACE - 12-03-2013, 07:40 AM
RE: Linux shared library for Lua - by SamJBarney - 12-03-2013, 07:47 AM



Users browsing this thread: 1 Guest(s)