Re: bloated binaries?
Re: bloated binaries?
- Subject: Re: bloated binaries?
- From: "Justin C. Walker" <email@hidden>
- Date: Tue, 16 Aug 2005 13:45:19 -0700
On Aug 16, 2005, at 13:34 , james tittle wrote:
On Aug 16, 2005, at 4:00 PM, Justin C. Walker wrote:
On Aug 16, 2005, at 12:49 , james tittle wrote:
[snip]
Try "size -arch all blah" (or whatever your executable is called)
on both versions.
...ok, here's the results:
xcode 1.5/gcc3.3, smaller app:
__TEXT __DATA __OBJC others dec hex
2600960 6713344 4096 692224 10010624 98c000
tigital$ ls -la
total 6600
drwxr-xr-x 3 tigital tigital 102 May 14 2004 .
drwxr-xr-x 7 tigital tigital 238 May 14 2004 ..
-rwxr-xr-x 1 tigital tigital 3377476 Jan 1 1970 Freespace2demo
xcode2.2/gcc3.3, "bloated" app:
__TEXT __DATA __OBJC others dec hex
2084864 6320128 4096 16856 8425944 8091d8
tigital$ ls -la
total 13992
drwxr-xr-x 3 tigital tigital 102 Aug 14 22:06 .
drwxr-xr-x 6 tigital tigital 204 Aug 14 21:48 ..
-rwxr-xr-x 1 tigital tigital 7160280 Aug 14 22:06 Freespace2demo
...this seems strange, in that the mach-o stuff seems kinda the
same except for "others", but outside of "man size", I don't know
what this may or may not be telling me...
Well, on the face of it, the "smaller" version seems more bloated
than the "larger" version, except in total file size. You did use
the "-arch" flag, right? Next step, I think, is to get an idea of
what else is in the files.
Try 'otool', using, e.g., the "-f" switch; check the man page for
other interesting arguments.
Regards,
Justin
--
Justin C. Walker, Curmudgeon-At-Large
Institute for General Semantics
--------
Men are from Earth.
Women are from Earth.
Deal with it.
--------
_______________________________________________
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