• 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: Screen saver for Snow Leopard and previous OS (Was: ScreenSaverView gets instantiated several times)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Screen saver for Snow Leopard and previous OS (Was: ScreenSaverView gets instantiated several times)


  • Subject: Re: Screen saver for Snow Leopard and previous OS (Was: ScreenSaverView gets instantiated several times)
  • From: David Duncan <email@hidden>
  • Date: Mon, 5 Oct 2009 09:28:55 -0700

On Oct 5, 2009, at 9:24 AM, Gabriel Zachmann wrote:

So, is there any way to compile the screen saver into *one* bundle (or exec) such that it runs under SL with 64-bit proc's *and* 10.5/ Intel ?


You need to build a universal binary (the default Xcode universal config of PPC/i386/x86_64 should suffice) and ensure that Garbage Collection is turned on for the 64-bit slice. Simplest way is to copy & paste the following into your Xcode configuration:

ARCHS = x86_64 $(ARCHS_STANDARD_32_BIT)
MACOSX_DEPLOYMENT_TARGET = 10.5
SDKROOT = macosx10.6
GCC_ENABLE_OBJC_GC = unsupported
GCC_ENABLE_OBJC_GC[sdk=macosx10.6][arch=x86_64] = supported
--
David Duncan
Apple DTS Animation and Printing

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >ScreenSaverView gets instantiated several times (From: Gabriel Zachmann <email@hidden>)
 >Re: ScreenSaverView gets instantiated several times (From: Michael Babin <email@hidden>)
 >Re: ScreenSaverView gets instantiated several times (From: Gabriel Zachmann <email@hidden>)
 >Re: ScreenSaverView gets instantiated several times (From: Michael Babin <email@hidden>)
 >Screen saver for Snow Leopard and previous OS (Was: ScreenSaverView gets instantiated several times) (From: Gabriel Zachmann <email@hidden>)

  • Prev by Date: Screen saver for Snow Leopard and previous OS (Was: ScreenSaverView gets instantiated several times)
  • Next by Date: NSTableView: no display until header clicked
  • Previous by thread: Screen saver for Snow Leopard and previous OS (Was: ScreenSaverView gets instantiated several times)
  • Next by thread: grouping undo across method calls in CoreData
  • Index(es):
    • Date
    • Thread