This is more of a gcc/gnu toolchain question, but it's related to
java and in the past y'all've had some good answers, so here goes:
I'd like to strip a jnilib so that non-visible functions are harder
to spot and futz with by hackers. Here's what I do: I use -
fvisibility=hidden and just make a few functions visible (those that
are needed for the JNI interface). After the library is compiled, I
use strip -x to strip, but no luck -- many of the functions I'd like
to hide are still visible when I type nm (they're just not global).
I've also tried strip -s, but this seems to break my library, so if
someone had a good example of how to use that, I'd appreciate it.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden