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?



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:
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>)



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.