Re: Enabling Intel compilation?
Re: Enabling Intel compilation?
- Subject: Re: Enabling Intel compilation?
- From: Alex Telitsine <email@hidden>
- Date: Mon, 6 Jun 2005 22:34:08 -0700
That's it __ppc__ and __i386__ works. ( And I guess __VEC__ and __SSE__ will do to). It compiles, but now I'm stuck in linking, system functions are missing.
I guess I need " universal SDK". The PDF says: SDKROOT settings is /Developer/SDKs/MacOSX10.4u.sdk.
I don't have "SDKs" folder, so I guess XC2.1 doesn't install it. Search on Apple website returns DOC entries only, but no downloads. Am I missing something?
Thanks, Alex
On Jun 6, 2005, at 9:33 PM, Thierry Faucounau wrote: On Jun 7, 2005, at 5:56 AM, Alex Telitsine wrote:
Nope, it is not defined. I need predefined symbol for PowerPC and Intel compilations. Something like:
#ifdef ppc #include <altivec_code> #endif
#ifdef i386 #include <SSE3_code> #endif
@
From the universal_binary.pdf doc posted today it seems these are what you are looking for
__i386__ and __ppc__
Thierry Faucounau
Senior 3D Engineer -- Zonic
|
_______________________________________________
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