Re: Screen saver for Snow Leopard and previous OS (Was: ScreenSaverView gets instantiated several times)
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