Re: Universal Applications
Re: Universal Applications
- Subject: Re: Universal Applications
- From: "hackmiester (Hunter Fuller)" <email@hidden>
- Date: Sat, 7 Oct 2006 21:10:38 -0500
On 6 October 2006, at 08:12, 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)
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.)
Dunno; tar it up and send it to me if you want. I'll try it out.
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.)
I recently had this same question. On Saturday 2 September 2006
06:16:55 CDT, djl replied to my query by saying:
At a guess I'd say that if you have the source code then you'd
either need to:-
Compile the source code via the command line for and on both a PPC
and an Intel Mac - then use code in your project to determine which
processor is running. Something along the lines of:-
set cpuType to CPU type of (system info)
if cpuType contains "PowerPC" then
set theCpu to "PowerPC"
else
set theCpu to "Intel"
end if
display dialog theCpu
or
Use XCode to generate a Universal Binary. I'm not au fait with
doing this but take a look at this document from Apple's site which
should point you in the right direction:-
http://developer.apple.com/opensource/buildingopensourceuniversal.html
Good luck!
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (Applescript-
email@hidden)
Help/Unsubscribe/Update your Subscription:
@hackmiester.com
This email sent to email@hidden
--
hackmiester (Hunter Fuller)
<svinx> yknow when you go to a party, and everyones hooked up except
one guy and one girl
<svinx> and so they look at each other like.. do we have to?
<svinx> intel & nvidia must be lookin at each other like that right now
Phone
Voice: +1 251 589 6348
Fax: Call the voice number and ask.
Email
General chat: email@hidden
Large attachments: email@hidden
SPS-related stuff: email@hidden
IM
AIM: hackmiester1337
Skype: hackmiester31337
YIM: hackm1ester
Gtalk: hackmiester
MSN: email@hidden
Xfire: hackmiester
_______________________________________________
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