Hmm... I didn't read the original post all the way through before responding previously.
It sounds like a pretty niche requirement. I don't see why you couldn't just write your own tool to do it for yourself. Incidentally, this isn't compiling, but *linking*. You could probably look at the "prelink" code to get an idea of how to do it. On Sat, Jun 22, 2013 at 6:05 AM, Anthony G. Basile <[email protected]> wrote: > On 06/21/2013 08:23 PM, Mike Frysinger wrote: >> >> On Friday 31 May 2013 14:11:01 Christopher Friedt wrote: >>> >>> strip --strip-unneeded >> >> >> doesn't removed symbols that are exported in a shared lib >> -mike >> > > and shouldn't. How can a shared library know what symbols will be consumed > in the future by objects linking against it? > > -- > Anthony G. Basile, Ph. D. > Chair of Information Technology > D'Youville College > Buffalo, NY 14201 > (716) 829-8197 >
