• 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: Still struggling with Universal Binaries
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Still struggling with Universal Binaries


  • Subject: Re: Still struggling with Universal Binaries
  • From: Shawn Erickson <email@hidden>
  • Date: Tue, 31 Jan 2006 17:01:17 -0800

On 1/31/06, Aram Kudurshian <email@hidden> wrote:
> I posted a while back ago about converting a method I had to work
> with universal binaries and had thought that the following code would
> have solved the issue.  Turns out I was wrong and now, re-reading
> information online, I'm wondering if the only reason this compiled is
> because Xcode simply ignored what was contained in the #else as I was
> compiling on a PowerPC machine.

Are you building a universal binary? If you are it doesn't matter what
system you are building on since by definition your code is getting
compiled twice, once for PowerPC and once for Intel.

When is compiles for PowerPC the pre-compiler should leave you with
the first block and when it compiles for Intel you should get the
second block.

Anyway what are you seeing fail in the debugger?

-Shawn
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • About Universal Binaries...
      • From: "Juan P. Pertierra" <email@hidden>
References: 
 >Still struggling with Universal Binaries (From: Aram Kudurshian <email@hidden>)

  • Prev by Date: Re: Still struggling with Universal Binaries
  • Next by Date: Re: Still struggling with Universal Binaries
  • Previous by thread: Re: Still struggling with Universal Binaries
  • Next by thread: About Universal Binaries...
  • Index(es):
    • Date
    • Thread