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 (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com