Re: Still struggling with Universal Binaries
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