public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Supressing Symbols of Shared Library on Linux
@ 2003-11-21  9:32 Romil_Singla
  0 siblings, 0 replies; only message in thread
From: Romil_Singla @ 2003-11-21  9:32 UTC (permalink / raw)
  To: gcc-help

Hi 
 

We are building a shared library on Red Hat Linux release 6.2 (Zoot)
Kernel 2.2.14-5.0 on an i686.We are using gcc version egcs-2.91.66 and
GNU ld version 2.9.5 (with BFD 2.9.5.0.22) for making our shared
library. We want to export only specific external symbols of  our
library and want to suppress all other symbols. What are the various
Linker options for doing the same (I tried --exclude-symbol option , but
the linker gives unrecognized option `--exclude-symbols' error.) The GCC
documentation says that `--exclude-symbols'  is an option specific to
i386 PE targets. Can I use this option for the my above mentioned
platform???


Is there any other way also to suppress the symbols in
Linux(version-script is I think another option, but I don't know the
format of writing version scripts). 

Romil

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-11-21  9:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-21  9:32 Supressing Symbols of Shared Library on Linux Romil_Singla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).