Re: Larger application size
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