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]

Is there anyway that I can export only those symbles I want to?


Hello,

I am developping a shared library(.so) but I don't want to export every
symbols/functions to save some space in symbol table. Is there anyway that I
can do to enable this. I am new to gnu tools so if this is a FAQ, please
point me to the right place, thanks.

The only way now I found is put static in front of what I don't want to
export. Is there a way that I can specify which symbol I WANT to export?(I
guess I have to specify a special switch in command line, right?)

Henri Chen



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