to remove indirect symbols
to remove indirect symbols
- Subject: to remove indirect symbols
- From: Cotton Chen <email@hidden>
- Date: Sun, 20 Dec 2009 19:44:04 +0800
Hi,
In Linux I can use strip -K to keep only the symbols I'd like to export in my shared library.
In Mac OS X, is it possible to do this even if the symbols to be removed is indirect ?
How can I configure build flag in XCode if the above is possible?
for example:
$ nm libPerson.dylib
U _get_default
0000000000000e73 T _name
0000000000000e9e T _set_name
U _strcpy
U dyld_stub_binder
0000000000000e73 T myname
in whick _strcpy link to standard c library, and _get_default links to another dynamic library I made.
I'd like to remove _get_default from the symbol table in libPerson.dylib
Thanks all.
Cotton Chen
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden