Re: Making use of Core 2 features without 64bit addressing
Re: Making use of Core 2 features without 64bit addressing
- Subject: Re: Making use of Core 2 features without 64bit addressing
- From: "Clark Cox" <email@hidden>
- Date: Fri, 11 Apr 2008 00:39:21 -0700
On Thu, Apr 10, 2008 at 10:22 PM, Michael Vannorsdel <email@hidden> wrote:
> Indeed I can do that. This brings up another question; since frameworks and
> libs didn't have much 64 bit support in 10.4, is it possible for a fat
> binary to load the 64 bit image on 10.5 and 32 bit on 10.4? Perhaps with
> some Info.plist settings. My instinct says no; 64 bit image will be used on
> all 64 bit archs regardless of sys version.
Your instinct is, fortunately, wrong in this case.
>From <http://developer.apple.com/documentation/Darwin/Conceptual/64bitPorting/building/chapter_5_section_4.html>:
"To prevent new 64-bit executables from running as 64-bit on version
10.4, Apple changed the CPU subtype for 64-bit executables that depend
on high-level frameworks."
That is, if the 64-bit slices of your application depend on Cocoa,
they will be ignored on Tiger and earlier. Just make sure that the
deployment target of your 64-bit slices is set to 10.5.
>
>
>
> On Apr 10, 2008, at 5:31 PM, Clark Cox wrote:
>
>
> > Are you sure that you have to use the 10.4 SDK? Just use the 10.5 SDK,
> > but set the deployment target to 10.4 for your 32-bit architectures.
> >
> > Alternatively, you could probably use different SDK's for different
> > architectures. Your i386 and/or ppc builds can use the 10.4 SDK, while
> > your x86_64 and/or ppc64 builds can use the 10.5 SDK.
> >
>
>
> _______________________________________________
>
> 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
>
--
Clark S. Cox III
email@hidden
_______________________________________________
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