• 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
which -arch is being built
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

which -arch is being built


  • Subject: which -arch is being built
  • From: Rich Collyer <email@hidden>
  • Date: Wed, 25 Mar 2009 04:19:10 -0700

Is there a define or environment variable, or ______ I can use to determine which architecture my source is being built for? I need to be able to place a build directive inside my source that will use the correct code based on whether I am running under PowerPC or Intel and be able to compile the same source for other OS platforms.

It is easy in XCode to provide -D compiler options between Debug verses Release, but how about between 386 verses ppc?

+++++++++++++++++++++++
Rich Collyer - Senior Software Engineer
+++++++++++++++++++++++




Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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: which -arch is being built
      • From: Jean-Daniel Dupas <email@hidden>
  • Prev by Date: Re: Info.Plist and Build order
  • Next by Date: Re: which -arch is being built
  • Previous by thread: Re: Info.Plist and Build order
  • Next by thread: Re: which -arch is being built
  • Index(es):
    • Date
    • Thread