• 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: bloated binaries?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bloated binaries?


  • Subject: Re: bloated binaries?
  • From: james tittle <email@hidden>
  • Date: Tue, 16 Aug 2005 16:34:39 -0400

On Aug 16, 2005, at 4:00 PM, Justin C. Walker wrote:


On Aug 16, 2005, at 12:49 , james tittle wrote:

...ok, running nm shows me that I've got a lot more symbols in the small, old version than the bloated new version: I would've expected it to be the other way?


...Still open to any application diets :-)


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...

jamie
_______________________________________________
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


  • Follow-Ups:
    • Re: bloated binaries?
      • From: "Justin C. Walker" <email@hidden>
References: 
 >bloated binaries? (From: james tittle <email@hidden>)
 >Re: bloated binaries? (From: Sailesh Agrawal <email@hidden>)
 >Re: bloated binaries? (From: james tittle <email@hidden>)
 >Re: bloated binaries? (From: "Justin C. Walker" <email@hidden>)

  • Prev by Date: Re: Got a clue on this link error?
  • Next by Date: Re: bloated binaries?
  • Previous by thread: Re: bloated binaries?
  • Next by thread: Re: bloated binaries?
  • Index(es):
    • Date
    • Thread