• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
to remove indirect symbols
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: NSLog a No-Op Probably Explained
  • Next by Date: No Syntax-coloring or symbol recognition for Cocoa Framework in my XCode 3.2.1 Project.
  • Previous by thread: Re: NSLog a No-Op Probably Explained
  • Next by thread: No Syntax-coloring or symbol recognition for Cocoa Framework in my XCode 3.2.1 Project.
  • Index(es):
    • Date
    • Thread