• 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: Default optimizations
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Default optimizations


  • Subject: Re: Default optimizations
  • From: Dario Accornero <email@hidden>
  • Date: Mon, 27 Oct 2003 23:49:48 +0100

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?

Thanks,
Dario
_______________________________________________
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.

  • Follow-Ups:
    • Re: Default optimizations
      • From: Scott Tooker <email@hidden>
References: 
 >Default optimizations (From: Dario Accornero <email@hidden>)
 >Re: Default optimizations (From: Scott Tooker <email@hidden>)

  • Prev by Date: Re: Extending Xcode
  • Next by Date: Re: Extending Xcode
  • Previous by thread: Re: Default optimizations
  • Next by thread: Re: Default optimizations
  • Index(es):
    • Date
    • Thread