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

Re: OTHER_CFLAGS


  • Subject: Re: OTHER_CFLAGS
  • From: Eric Albert <email@hidden>
  • Date: Wed, 11 Jan 2006 16:12:09 -0800

On Jan 11, 2006, at 3:51 PM, Eric Welch wrote:

Can anyone confirm that OTHER_CFLAGS is a build setting with per-architecture variants in XCode 2.2?  

In other words you should be able to set
OTHER_CFLAGS_ppc
and
OTHER_CFLAGS_i386

and have those CFlags passed to the appropriate compiler calls, for the appropriate architectures.

There is a way to have per-architecture OTHER_CFLAGS, but I'm afraid I don't recall what it is right now.  It's different from the other per-architecture flags -- something like setting the ones above and then setting OTHER_CFLAGS to OTHER_CFLAGS_$($arch).

A more interesting question to me at least is what C flags you're planning to set this way.  The most common architecture-specific flags are actually understood and ignored by the other side of the compiler, so it's pretty unusual to see code that really needs this.

Just wondering,
Eric

 _______________________________________________
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: OTHER_CFLAGS
      • From: Eric Welch <email@hidden>
References: 
 >OTHER_CFLAGS (From: Eric Welch <email@hidden>)

  • Prev by Date: Which 'GCC_MODEL_TUNING' vor i386?
  • Next by Date: Re: Which 'GCC_MODEL_TUNING' vor i386?
  • Previous by thread: OTHER_CFLAGS
  • Next by thread: Re: OTHER_CFLAGS
  • Index(es):
    • Date
    • Thread