• 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: Xcode executable size?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode executable size?


  • Subject: Re: Xcode executable size?
  • From: Shawn Erickson <email@hidden>
  • Date: Wed, 18 Oct 2006 08:53:53 -0700


On Oct 18, 2006, at 8:36 AM, B.J. Buchalter wrote:

Hi Folks,

Further to my own question, I did not realize that the executable was not
stripped automatically in a release build; this accounts for a substantial
fraction of the bloat,

If you use xcodebuild (man it) and do an "install" build for your final product it should do default stripping. Of course you can configure Xcode how you want or take the stripping step over for yourself in you build system. We do the later so we can generate .dSYM files and archive those as needed then do maximal stripping.


but the CW executable is still smaller than the Xcode
one even after debug symbols are stripped. Is this "just the way it is" and
nothing to be overly concerned about?

Hard to answer without knowing differences in the configuration of the compiler and linker. It could simply be a result of different alignment of code (functions starts, loop starts, etc.), a result of more/less inlining, poorer dead stripping, differences in code generation, etc.


You can disassemble the executable and dig around to looking for such difference is you really want. :)

-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


References: 
 >Re: Xcode executable size? (From: "B.J. Buchalter" <email@hidden>)

  • Prev by Date: Re: debugging
  • Next by Date: Distribute to local machine too?
  • Previous by thread: Re: Xcode executable size?
  • Next by thread: Re: Xcode executable size?
  • Index(es):
    • Date
    • Thread