Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Still struggling with Universal Binaries



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden

References: 
 >Still struggling with Universal Binaries (From: Aram Kudurshian <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.