Re: Default optimizations
Re: Default optimizations
- Subject: Re: Default optimizations
- From: Scott Tooker <email@hidden>
- Date: Mon, 27 Oct 2003 15:14:06 -0800
On Oct 27, 2003, at 2:49 PM, Dario Accornero wrote:
> On 27 Oct 2003, at 21:07, Scott Tooker wrote:
>
>> The best way to structure this is to set up the base target for
>> deployment and then put any development overrides into the
>> "Development" build style (or whatever build style you use for
>> development).
>>
>> In your case you want to turn off debugging symbols and use -Os in the
>> target and then turn on debugging symbols and set the optimization to
>> -O0 in the buildstyle.
>
> I think I've understood how the UI relates to the various build
> options, and I'll start from scratch with new projects. However, I
> respectfully submit that importing PB projects is not bullet-proof
> yet.
>
> I've imported some PB projects that used a Development build style for
> both Debug (-O0 an -g) and Release (-Os and no -g) targets. Xcode
> respects the settings, and both targets build and link fine with the
> expected build options. They even run. ;-)
>
> However, when I convert them to native targets, I still get a
> Development build, but here's how it looks like:
>
> Building target Debug with build style Development
> (optimization:level size, debug-symbols:on)
> ...
> Building target Release with build style Development
> (optimization:level size, debug-symbols:on)
> ...
>
> Does this really make sense?
Okay, now I see what is going on. The problem is that the classic
targets and native targets use a different set of build settings. When
we upgrade the target, the build style doesn't get upgraded with the
new build settings, which is what is causing your problem. Please file
a bug about the fact that we don't upgrade the build styles when
upgrading the target (at the very least we could inform the user that
they need to update their build settings).
Scott
>
> Thanks,
> Dario
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.