• 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
Re: bundle project question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bundle project question


  • Subject: Re: bundle project question
  • From: "Peter O'Gorman" <email@hidden>
  • Date: Tue, 19 Oct 2004 22:44:42 +0900

Ivan Kharin wrote:

POG> All symbols, global and local, are listed in the symbol table. nm -n will
POG> display all of them, if you want to just display the global symbols, then
POG> use nm -g. Note that it will display undefined symbols as well.

Yes, all symbols are listed.

What i want is new bundle executable without any global and local
symbols (except exported & undefined, of course).

I really do not know how to do this with Xcode. But you can always do nmedit -s global_symbols_file output.bundle && strip -x output.bundle in a terminal. I think this is what you are looking for. The global_symbols_file is, of course, your file containing all the symbols you wish to keep. See the excellent man pages for nmedit and strip for more info.


Peter
--
Peter O'Gorman - http://www.pogma.com
_______________________________________________
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


  • Follow-Ups:
    • Re[2]: bundle project question
      • From: Ivan Kharin <email@hidden>
References: 
 >bundle project question (From: Ivan Kharin <email@hidden>)
 >Re: bundle project question (From: "Peter O'Gorman" <email@hidden>)
 >Re[2]: bundle project question (From: Ivan Kharin <email@hidden>)

  • Prev by Date: Re[2]: bundle project question
  • Next by Date: Accessing NSTextFields in cocoa
  • Previous by thread: Re[2]: bundle project question
  • Next by thread: Re[2]: bundle project question
  • Index(es):
    • Date
    • Thread