• 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: ld strip is now obsolete?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ld strip is now obsolete?


  • Subject: Re: ld strip is now obsolete?
  • From: Jean-Daniel Dupas <email@hidden>
  • Date: Sun, 4 May 2008 12:06:18 +0200

Le 4 mai 08 à 08:14, Glen Low a écrit :

Hi All

I'm in the middle of the optimization phase of one of my projects and I was exploring various command-line strip options.

I took a look at the old ld strip options in Leopard, but the man page now says:

     -s          Completely strip the output, including removing the symbol table.  This file format variant is no longer supported.  This option is obsolete.

Since the strip man page says ld does better stripping, how do I access the stripping in ld in Leopard?






Cheers, Glen Low


From my personal experience, ld do better stripping because it is able to strip dead-code.
I find the combination of -exported_symbols_list and -dead_strip very efficient to strip dead code and reduce library size.
Using thoses options and then using strip give me very good results.


Jean-Daniel

 _______________________________________________
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: ld strip is now obsolete?
      • From: Glen Low <email@hidden>
    • Re: ld strip is now obsolete?
      • From: Jonas Maebe <email@hidden>
References: 
 >ld strip is now obsolete? (From: Glen Low <email@hidden>)

  • Prev by Date: ld strip is now obsolete?
  • Next by Date: Re: ld strip is now obsolete?
  • Previous by thread: ld strip is now obsolete?
  • Next by thread: Re: ld strip is now obsolete?
  • Index(es):
    • Date
    • Thread