Re: ld strip is now obsolete?
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?
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