This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Is there anyway that I can export only those symbles I want to?
- To: help-gcc at gnu dot org
- Subject: Is there anyway that I can export only those symbles I want to?
- From: "Eagle Lin" <eaglelin at NOSPAM dot mars dot seed dot net dot tw>
- Date: Wed, 24 Nov 1999 10:31:22 +0800
- Newsgroups: gnu.gcc.help,gnu.g++.help
- Organization: Ht.net news server
- Xref: wodc7nx0 gnu.gcc.help:1944 gnu.g++.help:1057
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