• 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: Architecture setting: i386 in Release
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Architecture setting: i386 in Release


  • Subject: Re: Architecture setting: i386 in Release
  • From: "Sean McBride" <email@hidden>
  • Date: Wed, 20 Jun 2007 09:58:06 -0400
  • Organization: Rogue Research

On 6/20/07 2:48 PM, Calum Robertson said:

>I'm working on a multi-platform project (original code was win32 and
>unix) and have created my first xcode project. I need to do add in
>some mac specific code and have been using the following construct:
>
>#ifdef i386
>...
>#endif

You should use #ifdef __APPLE__ for OS X-specific code.  Also, its
__i386__, but that would only be 1 on Intel Macs, not ppc Macs.

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


 _______________________________________________
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[2]: Architecture setting: i386 in Release
      • From: Peter Mulholland <email@hidden>
References: 
 >Architecture setting: i386 in Release (From: Calum Robertson <email@hidden>)

  • Prev by Date: Re[2]: next problem
  • Next by Date: Re[2]: Architecture setting: i386 in Release
  • Previous by thread: Architecture setting: i386 in Release
  • Next by thread: Re[2]: Architecture setting: i386 in Release
  • Index(es):
    • Date
    • Thread