This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Shared library linking with external static libraries.


On Tuesday 12 of October 2010 12:24:33 FloofLeBo wrote:

>     - How can I tell gcc (used with "-shared") to not expose the externals
> libraries's symbols, since they were compiled without -fvisibility=hidden ?

you can instruct linker to expose/hide symbols (via global/local section)
in version script. see the 'info ld', section '3.9 VERSION Command' for ex. 

BR,
Pawel.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]