• 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: CFLAGS dependent on target arch
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CFLAGS dependent on target arch


  • Subject: Re: CFLAGS dependent on target arch
  • From: Scott Tooker <email@hidden>
  • Date: Fri, 26 Jun 2009 07:50:07 -0700


On Jun 26, 2009, at 1:10 AM, Jakub Bednar wrote:

Hi everyone,

I'm having a problem and am unable to find a solusion.
I'm building a large project as multiarchitecture 32/64 bit.
But I can't find a way how to pass a special CFLAG to gcc
when building 64 bit part of the target.

Is there a way how to tell Xcode to pass different CFLAGS
depending on target architecture?


If you select the "Other C Flags" setting in the Build tab of target inspector, click on the gear in the lower left and select "Add Build Setting Condition". This will allow you to have a different value based on architecture or SDK.


Scott
_______________________________________________
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: 
 >CFLAGS dependent on target arch (From: Jakub Bednar <email@hidden>)

  • Prev by Date: Re: Running my IPhone App from Simulator to IPhone
  • Next by Date: RE: "No launchable executable present at path" error - Xcode
  • Previous by thread: CFLAGS dependent on target arch
  • Next by thread: Interpreting user crash reports (for hangs, not crashes)
  • Index(es):
    • Date
    • Thread