This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Hiding symbols in a static library
- From: Erik de Castro Lopo <mle+tools at mega-nerd dot com>
- To: binutils at sourceware dot org
- Date: Sun, 27 Sep 2009 17:28:30 +1000
- Subject: Hiding symbols in a static library
- Reply-to: binutils at sourceware dot org
Hi all,
I have a user of my library that is complaining about private symbols in
my library clashing with the priviate symbols of another library. I
suggested that they should use the dynamically linked version of my
library which has all private symbols hidden by means of a version
script.
This has not satisfied this user who insists on needing to statically
link. That leads me here, to ask if there is a way to hide private
symbols in a static library.
Any clues or pointers appreciated.
Cheers,
Erik
--
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/