Re: Size of Binary
Re: Size of Binary
- Subject: Re: Size of Binary
- From: Jim Ingham <email@hidden>
- Date: Wed, 30 Nov 2005 09:25:50 -0800
On Nov 30, 2005, at 3:19 AM, Kevin Meaney wrote:
G'day all,
I have been in the process of converting our
Codewarrior application to XCode. When building the
Mach0 binary in Codewarrior the size of the binary is
14.3 MBytes and the debug symbol file is 22.7 MBytes.
When we finally got the application in XCode to
compile and link we ended up with a Mach0 binary that
is over 900 MBytes in size.
Yes, debug info size is one of the issues we are working on. In
Xcode 2.2 you can use the "Essential Symbols" option to reduce the
size of the binary, and also reduce linkage time. Note that if you
do this, you won't be able to give somebody else the debug copy of
your app (the debug info is left in the .o files...) But for
iterative development, that's usually not a big problem.
When trying to debug the application we get the error:
mi_cmd_stack_list_frames: Not enough frames in stack.
I recollect reading sometime ago about a limitation in
the maximum size of the stack being something like
16MBytes. I was wondering if somehow we have exceeded
that limit and the above error message reflects that.
No, these are unrelated issues. The debugger message has to do with
our "fast" and "accurate" ways of getting the stack not agreeing in
some cases. It has nothing to do with your app.
Jim
I have been reading the Code Size performance
guidelines
http://developer.apple.com/documentation/Performance/Conceptual/
CodeFootprint/index.html
trying to find where I read about the stack size limit
and to get more info, without success.
There may well be things that we should be doing from
those guidelines anyway but at the moment I am trying
to sort out why we are getting the not enough frames
in stack error message.
Kevin
___________________________________________________________
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide
with voicemail http://uk.messenger.yahoo.com
_______________________________________________
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
_______________________________________________
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