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: Enabling Intel compilation?



On Jun 6, 2005, at 10:34 PM, Alex Telitsine wrote:

That's it __ppc__ and __i386__ works. ( And I guess __VEC__ and __SSE__ will do to).

In general, we recommend that you use the #defines closest to the kind of change you're #defining in or out. In other words, __VEC__ and __SSE__ would be preferred here.


Also, for what it's worth, gcc on Mac OS X defaults to -msse2 when building for Intel, so you don't need to check for __SSE__ unless you're using that as a way to avoid building the code in question for PowerPC.

Eric
Core Technologies

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden
References: 
 >Enabling Intel compilation? (From: Alex Telitsine <email@hidden>)
 >Re: Enabling Intel compilation? (From: Joshua Martin <email@hidden>)
 >Re: Enabling Intel compilation? (From: Alex Telitsine <email@hidden>)
 >Re: Enabling Intel compilation? (From: Chris Espinosa <email@hidden>)
 >Re: Enabling Intel compilation? (From: Alex Telitsine <email@hidden>)
 >Re: Enabling Intel compilation? (From: Thierry Faucounau <email@hidden>)
 >Re: Enabling Intel compilation? (From: Alex Telitsine <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.