• 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: Installation of screensaver fails
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Installation of screensaver fails


  • Subject: Re: Installation of screensaver fails
  • From: Nick Zitzmann <email@hidden>
  • Date: Fri, 16 Jul 2010 13:01:08 -0600

On Jul 16, 2010, at 2:34 AM, Gabriel Zachmann wrote:

>> In order for a screen saver to be fully compatible with Snow Leopard, you must add an Intel 64 slice that supports GC. The reason is because both the screen saver engine and System Preferences run as Intel 64 apps on Snow Leopard if the user's Mac supports 64-bit addressing, and at least System Preferences also uses GC in the Intel 64 slice.
>>
>
> Thanks a lot for your answer.
>
>
> I've got 2 questions.
>
> 1.
> So far, I've got these build settings - are they correct?
>
>        EF7AD73308BB986600CE4634 /* Release */ = {
>            isa = XCBuildConfiguration;
>            buildSettings = {
>                ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
>                GCC_C_LANGUAGE_STANDARD = gnu99;
>                GCC_ENABLE_OBJC_GC = supported;
>                "GCC_ENABLE_OBJC_GC[sdk=macosx10.5][arch=*]" = unsupported;
>                GCC_WARN_ABOUT_RETURN_TYPE = YES;
>                GCC_WARN_UNUSED_VARIABLE = YES;
>                MACOSX_DEPLOYMENT_TARGET = 10.5;
>                "MACOSX_DEPLOYMENT_TARGET[arch=x86_64]" = 10.6;
>                PREBINDING = NO;
>                SDKROOT = macosx10.6;
>            };
>            name = Release;
>        };

If your minimum OS requirement for the screen saver is Leopard, then feel free to build it with GC supported for all architectures. You only need to turn off GC support for the PPC & Intel 32 slices if you're targeting Tiger or earlier, since they didn't support GC.

> 2.
> The customer says he's running a 32-bit kernel.
> Doesn't that mean that the screen saver engine and Sys prefs run as 32-bit apps, too?

No. The 32-bit kernel runs 64-bit applications just fine, and even supports handling more than 8 GB of physical RAM.

> 3.
> Why does it then run on my machine? (which seems to be the exact same configuration)

Are you sure? If you're using a 2006 model Intel Mac with an original Core Solo/Duo CPU, then your Mac isn't affected because your Mac can't run 64-bit code at all.

Nick Zitzmann
<http://www.chronosnet.com/>

_______________________________________________

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: 
 >Installation of screensaver fails (From: Gabriel Zachmann <email@hidden>)
 >Re: Installation of screensaver fails (From: Nick Zitzmann <email@hidden>)
 >Re: Installation of screensaver fails (From: Gabriel Zachmann <email@hidden>)

  • Prev by Date: Re: Reading in UTF-8 to Data
  • Next by Date: Re: Reading in UTF-8 to Data
  • Previous by thread: Re: Installation of screensaver fails
  • Next by thread: Re: Installation of screensaver fails
  • Index(es):
    • Date
    • Thread