• 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: Code optimisation always -0s
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Code optimisation always -0s


  • Subject: Re: Code optimisation always -0s
  • From: Dominik Pich <email@hidden>
  • Date: Sat, 30 Oct 2004 17:04:58 +0200

I am using Xcode 1.5 and haven't upgraded the project but have freshly created a new project.
It has two styles
Development AND Deployment
and two targets
client AND server


the targets set the optimisation flag to -Os per default
the development style sets the optimisation flag to -O0 per default
the deployemnt style sets the optimisation flag to -Os per default
I DID NOT CHANGE THAT
=> build with gcc of either target with the Development style activated
flag is -0s and NOT -o0 specified by the style.

On Oct 30, 2004, at 12:54 PM, j o a r wrote:


On 2004-10-30, at 00.45, Dominik Pich wrote:

The Code optimisation always flag passed to gcc is always -0s. (set in the target)
ALTHOUGH the style 'Development' sets it to -O0

Is this a project that you've upgraded from earlier versions of Xcode / PB? What is the name of the build setting used to set the optimization level (as presented in the table view)?


What I've seen a couple of times in upgraded projects is that you can have two settings for optimization in the table, one using the old, "raw" form of passing "-O0", and one using the new "symbolic" form of selecting "None" from a pop-up button.
Check through all your target and style build settings to verify that you really only have one optimization level set per target & style.


j o a r



May you always find water and shade. - Wheel Of Time
Dominik

_______________________________________________
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


References: 
 >Code optimisation always -0s (From: Dominik Pich <email@hidden>)
 >Re: Code optimisation always -0s (From: j o a r <email@hidden>)

  • Prev by Date: Re: Code optimisation always -0s
  • Next by Date: GDB and c++ template class
  • Previous by thread: Re: Code optimisation always -0s
  • Next by thread: Code optimisation always -0s [again :)]
  • Index(es):
    • Date
    • Thread