Re: Universal Applications
Re: Universal Applications
- Subject: Re: Universal Applications
- From: Christopher Nebel <email@hidden>
- Date: Mon, 9 Oct 2006 09:07:06 -0700
On Oct 6, 2006, at 6:12 AM, Luther Fuller wrote:
When I do a Get Info on the application bundle of my current
project, I see ...
Kind: Application (Universal)
But, in this case, it's not really universal, because, hidden away
within the bundle, there is a file whose Info shows ...
Kind: Unix Executable File (PowerPC)
If I'm understanding this correctly, you've got some sort of
subordinate executable [1] inside your application bundle, yes?
This raises a number of questions.
1. What would happen if my application were run on an Intel machine?
(I ask just because I'm curious.)
It should just work. [2] While it's true that you can't mix
architectures inside an executable -- an Intel process can't load PPC
plugins, for example -- there's nothing stopping an executable of one
architecture launching an executable of a different one.
2. In this case, the Unix Executable File comes with source code. Is
it possible to recompile to obtain a "Unix Executable File
(Universal)"? (I ask because I've never used Xcode. Perhaps it's
time I learned.)
"Possible", certainly. The question is, how hard will it be?
Probably, pretty easy -- odds are good, if it's some sort of open
source project, that the authors have already made it endian-safe, so
you won't need to change the source at all. That means it's simply a
question of either following their build instructions or creating an
Xcode project for it, neither of which should be particularly torturous.
--Chris Nebel
AppleScript Engineering
[1] Overheard at a department store Santa station: "You're not the
real Santa Claus, are you?" "No, I'm a helper. You might say I'm a
subordinate Claus."
[2] I can imagine some really devious stunts that might cause it to
not just work, but if you knew enough to use them, you'd also know
enough to not need to ask the question.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden