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

Default build settings


  • Subject: Default build settings
  • From: Andreas Grosam <email@hidden>
  • Date: Thu, 13 Oct 2005 15:56:00 +0200

When creating a target within a project, the default build-settings seem not always to be optimal.

For instance, when creating a static-library-target, these build-settings were set:

Debug: Optimization Level					Fastest, Smallest
Debug: Generate Position-Dependend Code		<off not overridden>


IMO, Optimization Level should be None[-O0] in Debug-configurations, and -O2 or higher for Release.


Generate Position-Dependend Code should be on for static libs, or do I miss something?

Dead Code Stripping should be on for static lib, at least for Release configurations, although this might cause trouble sometimes. Any objections not to do this per default?


There are a couple of others not set optimal e.g. OPTIMIZATION_CLAGS which is set to -O0 in all Configurations, and which overrides Optimization Level.
What's the purpose of OPTIMIZATION_CLAGS at all? Isn't it used for additionally flags like -ffast-math, -frename-registers, etc. and shouldn't it be an empty string in all configurations (per default)?




Regards
Andreas

_______________________________________________
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


  • Follow-Ups:
    • Re: Default build settings
      • From: Scott Tooker <email@hidden>
    • Re: Default build settings
      • From: Fritz Anderson <email@hidden>
  • Prev by Date: Project name restrictions
  • Next by Date: Re: Speeding up XCode?
  • Previous by thread: Re: Project name restrictions
  • Next by thread: Re: Default build settings
  • Index(es):
    • Date
    • Thread