• 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: Universal Binary Screensavers in 10.3?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Universal Binary Screensavers in 10.3?


  • Subject: Re: Universal Binary Screensavers in 10.3?
  • From: Sherm Pendley <email@hidden>
  • Date: Wed, 8 Feb 2006 18:40:41 -0500

On Feb 8, 2006, at 11:29 AM, Michael Briscoe wrote:

On Feb 7, 2006, at 10:04 PM, Nick Zitzmann wrote:

On Feb 7, 2006, at 10:19 PM, Michael Briscoe wrote:

Am I to assume that Universal Binary screensavers, designed to run on PowerPC and Intel, won't work with PowerPC Mac OS X 10.3 or below?

How were these screen savers compiled, and what language(s) do they use? If they use any C++ or ObjC++, and you compiled the PPC version with GCC 4, then they won't run under any version of Mac OS X earlier than 10.3.9.

They were compiled with the Mac OS X 10.4 Universal SDK, for both PowerPC and Intel processors. I used ObjC with the GCC 4.0 compiler. Is there a workaround without sacrificing performance? Or; will I have to post two versions of my screensavers, which defeats the idea of a Universal Binary, don't you think?

MMalcolm sent a fairly concise answer to this just a few hours ago, in a different thread:


In short:
• You must use gcc 4.0 to build for Intel.
• You must use the 10.4u SDK, at least on the Intel side, in order to target Intel.
• gcc 4.0/10.4u SDK-built targets will indeed run on 10.3.9 (but not earlier) if you set the "Mac OS X Deployment Target" to 10.3
• You can use gcc 3.3 for your PPC side of your Universal build, by creating a "GCC_VERSION_ppc" build setting and setting its value to 3.3 and this will let you target Mac OS 10.3.8 and earlier
• You can use the 10.3.9 SDK similarly, by creating an SDKROOT_ppc build setting and setting it to /Developer/SDKs/MacOSX10.3.9.sdk


See the Universal Binary Programming Guidelines and the Cross- Development Guide for complete documentation.

<http://developer.apple.com/documentation/DeveloperTools/Conceptual/ cross_development/>

So, while you do need to use GCC4/10.4u SDK for the Intel half of a universal binary, you can use an older SDK and GCC3 for the PPC half, if you need to be compatible for pre-10.3.9 OS releases.


sherm--

Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org

_______________________________________________
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


References: 
 >Universal Binary Screensavers in 10.3? (From: Michael Briscoe <email@hidden>)
 >Re: Universal Binary Screensavers in 10.3? (From: Nick Zitzmann <email@hidden>)
 >Re: Universal Binary Screensavers in 10.3? (From: Michael Briscoe <email@hidden>)

  • Prev by Date: Re: a c question
  • Next by Date: Re: Getting exact height of NSAttributedString
  • Previous by thread: Re: Universal Binary Screensavers in 10.3?
  • Next by thread: NSScanner confusion
  • Index(es):
    • Date
    • Thread