Me:
This exports a lot of symbols that aren't needed for Lua. Isn't
there an equivalent to a Windows DEF file that lists the functions to
be made available?
This document explains symbol export on Linux:
http://people.redhat.com/drepper/dsohowto.pdf
The "visibility" attribute for symbols can be chosen as a compiler
flag (-fvisibility=hidden) with an attribute in the source __attribute__
((visibility ("hidden"))) or with a pragma #pragma GCC visibility
push(hidden). I expect compiling all the non-Lua files with
-fvisibility=hidden will leave the symbols needed for Lua while removing
all the rest.
Neil
_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest