Hiding symbol on dynamic shared objects

Mevorach, Assaf assaf.mevorach@intel.com
Wed Jan 24 01:44:00 GMT 2001


Hi
I write a library in C, on GNU/Linux machine, and I would like to know if
there is a way to hide my symbols
(inner functions and global variables) from out of the DSO scope in order
not to pollute the whole image name space.
I am looking for solution by a compiler flag or option. 
solutions such as making all the symbols static and putting them in one file
has been already considered and are  less favorable.

please include me on your reply since I am not on this list.

Thanks
Assaf Mevorach
 

 
 
 




More information about the Gcc mailing list