Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Stripping
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Stripping



Yes, you would think that "Strip Linked Product" would be sufficient to
strip the linked product. I thought so, but it turned out there is more to
it than that. If you read the description for this setting, it reads:

"Activating this setting causes the linked product of the build to be
stripped of symbols as part of deployment postprocessing."

So to actually strip the symbols you also have to turn on the "Deployment
Postprocessing" setting.

Not sure how this might affect your original concern about static libraries,
but I hope this helps.

Scott

From: David Blanton <email@hidden>
Subject: Re: Stripping
To: Shawn Erickson <email@hidden>
Cc: xcode-users Users <email@hidden>
Message-ID: <email@hidden>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes

Strip Debug Symbols During Copy
Strip Linked Product
Strip Style All Symbols
Use Separate Strip


On Aug 26, 2009, at 10:51 AM, Shawn Erickson wrote:

> On Wed, Aug 26, 2009 at 9:47 AM, David
> Blanton<email@hidden> wrote:
>> So I Stripped All Symbols from the linked product in Release and
>> stripped
>> noting from Debug.
>>
>> The release file is 7.6MB the Debug file is 7.7MB implying some
>> difference
>> from the strip.
>>
>> However nm on each yields identical results .... does this mean the
>> symbols
>> are present in each?
>
> Hard to tell given the limited information you have give us. At first
> pass it looks like no stripping is taking place and the difference in
> size is a result of optimization setting differences.
>
> Can you outline who you have the strip setup?
>
> -Shawn
>
>

 _______________________________________________
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



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.