[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: static linking with lua
- From: Doug Currie <doug.currie@...>
- Date: Sat, 5 Mar 2011 15:57:45 -0500
On Mar 5, 2011, at 2:54 PM, Sam Roberts wrote:
> IIRC, there is an option to tell gcc to statically link, but export
> the symbols, those exported symbols are then available to modules when
> they are loaded.
-Wl,-E tells gcc to invoke the linker with the -E option which exports all symbols so they can be found by a dynamically loaded library.