On Tue, Jun 30, 2009 at 4:33 PM, Marco Schustermarco@harddisk.is-a-geek.org wrote:
Static compiling the stuff? How would this affect the binary size?
Hopefully not too badly if you use the right options. libc is huge, but the linker should be able to throw out most of it if statically linking, since Lua likely doesn't use most libc functions.
Alternatively, is the libc ABI stable enough that we could dynamically link libc, and statically link everything else? The other libraries required are very small.
(And: is static linking working across different libc versions?)
Yes, it should work fine, AFAIK. If you statically link everything you're just using the kernel ABIs, which are supposed to be very stable (especially for reasonably common stuff).
BTW, what about Mac OS / FreeBSD hosts?
Are there any shared webhosts you know of that run Mac or BSD? At worst, they can fall into the same group as the no-exec() camp, able to use Wikipedia content but not 100%.