This is the mail archive of the gcc@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]

Hiding symbol on dynamic shared objects


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
 

 
 
 



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