• 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: Code stripping blues...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Code stripping blues...


  • Subject: Re: Code stripping blues...
  • From: Matt Gough <email@hidden>
  • Date: Thu, 26 Jan 2006 00:03:58 +0000


On 25 Jan 2006, at 23:48, Andy O'Meara wrote:

My experience is that dead-code-stripping does work properly. However, it requires that your project and the static libs being fed into ld are built with full debugging symbols ( -gfull, and note this is not the default). This is the case even for release builds, from which you can strip out the symbols either at link time or as a separate strip.

 

If you don’t do that, then dead-code-stripping doesn’t work as you’d expect and you get link failures.

 

This was documented somewhere in the release notes, but it really needs to be more prominent.

 



Hmm, I too saw that documented and changed my project accordingly but it made no difference in my case. in the end I had to go with just defining dummy versions of all the symbols it needed to get it to link.

Matt Gough




 _______________________________________________
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

References: 
 >Re: Code stripping blues... (From: "Andy O'Meara" <email@hidden>)

  • Prev by Date: Re: Code stripping blues...
  • Next by Date: Xcode 2.2.x strangeness mtune=G5 'stuck' and more...
  • Previous by thread: Re: Code stripping blues...
  • Next by thread: RE: Code stripping blues...
  • Index(es):
    • Date
    • Thread