Re: Xcode style deployment: debug-symbols?
Re: Xcode style deployment: debug-symbols?
- Subject: Re: Xcode style deployment: debug-symbols?
- From: Patrick Machielse <email@hidden>
- Date: Wed, 10 Dec 2003 12:51:58 +0100
op 10-12-2003 07:00 schreef Sherm Pendley op cocoa-dev:
>
On Dec 7, 2003, at 12:35 PM, Rick Jansen wrote:
>
>
> When I build my product with style "deployment" it seems
>
> debug-symbols is still "on":
>
>
Yes - but "COPY_PHASE_STRIP" is set to "on", as well. So, even though
>
the compiler includes debug symbols when it builds and links the
>
executable, they *should* be getting stripped out when the executable
>
is copied into the .app bundle.
I believe you can also add environment variable DEBUGGING_SYMBOLS NO to the
deployment build settings to be quit sure. (couldn't find confirmation in
gcc man pages though)
>
Have you compared the executable size produced by using "development"
>
vs. "deployment?" The second should result in a noticeably smaller
>
binary.
I find that 'zero linked' development style builds are generally smaller
than prebound deployment style builds. It seems that linking actually adds
more to the size of (my) executables than the debugging symbols...
Surprising (to me at least).
Patrick
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.