• 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: Larger application size
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Larger application size


  • Subject: Re: Larger application size
  • From: Chris Kane <email@hidden>
  • Date: Tue, 5 Jul 2005 09:12:53 -0700

In a Terminal window, use:
    size -arch all -m <path_to_executable>

to display the individual sections of the executable. Replace <path_to_executable> with the actual path, of course. Do this for both the old binary and the new binary, and compare the sizes of the sections and see which is bigger, or if there are more sections in the new binary.

If the difference is in the __LINKEDIT segment, then it probably means there are just more symbols in the binary (most of which are debugging symbols) and the executable isn't stripped yet. Building with ZeroLink in one case and without ZeroLink in another case might also have an effect.


Chris Kane Cocoa Frameworks, Apple


On Jul 5, 2005, at 8:35 AM, Lorenzo wrote:

Hi,
I compiled my application with XCode 2.1 and
my application size is now 3.7 MB.
If I compile it with XCode 2.0 my application size is just 2.4 MB.
Why do I get 1.3 MB more?

I compile using $(NATIVE_ARCH), so for PowerPC only.
Did I forget something?


Best Regards -- Lorenzo email: email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Larger application size (From: Lorenzo <email@hidden>)

  • Prev by Date: Re: NSOutlineView not always showing "expand triangle"
  • Next by Date: Re: NSMetadataQuery not handling scopes and predicates as expected
  • Previous by thread: Larger application size
  • Next by thread: Re: Larger application size
  • Index(es):
    • Date
    • Thread