• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Enabling Intel compilation?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
http://www.zonic.co.uk/games/




 _______________________________________________
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

  • Follow-Ups:
    • Re: Enabling Intel compilation?
      • From: Eric Albert <email@hidden>
    • Re: Enabling Intel compilation?
      • From: Chris Espinosa <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>)

  • Prev by Date: Re: Enabling Intel compilation?
  • Next by Date: Re: XCode 2.1 Build Styles
  • Previous by thread: Re: Enabling Intel compilation?
  • Next by thread: Re: Enabling Intel compilation?
  • Index(es):
    • Date
    • Thread