• 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: Application for Specific Processors
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Application for Specific Processors


  • Subject: Re: Application for Specific Processors
  • From: Mike Abdullah <email@hidden>
  • Date: Mon, 8 May 2006 11:17:02 +0100

Also, something tells me that your users won't be terribly happy if they get different features depending upon the machine they use…

Mike.

On 8 May 2006, at 08:57AM0, Christian Stieber wrote:

At 21:37 07.05.2006 -0500, Rick Langschultz wrote:
Example: If i compile an intel specific binary and a powerpc specific
binary can i create a wrapper that determines the processor type and
loads the appropriate binary, or should I just use #define directives
in my header files???

Well, MacOS should already do the "load the correct binary for the CPU" part, so why do you want to duplicate it?

Presumeably, if you have an x86 binary and run on a x86
system, that binary should be used. So #define is the
way ro go.

UNLESS you are trying to put more features into the PPC
version than the x86 version --- users could simply remove
the x86 binary from the app then to get the PPC features on
their x86 boxes. A loader provided by you can prevent this,
but don't rely on it --- people can hack the loader.

The other way, having more features in the x86 version, shouldn't
be a problem since AFAIK MacOS doesn't have an x86 emulator, so
people will not be able to run the x86 binary on a PPC machine
unless they create their own x86 emulator first (which is a bit
more work than just hacking your loader).

Christian

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Re: Application for Specific Processors (From: Christian Stieber <email@hidden>)

  • Prev by Date: Re: filling NSImage with binary data from NSData
  • Next by Date: Newbie Bindings questions: Alarm clock application
  • Previous by thread: Re: Application for Specific Processors
  • Next by thread: Re: Application for Specific Processors
  • Index(es):
    • Date
    • Thread