 |
 |
|
 |
07-04-2009, 05:20 PM
|
#1 (permalink)
|
|
New Member
Join Date: Jun 2009
Posts: 3
|
How to execute os x .exe on iPhone OS
Hey guys,
I'm an absolute noob at iPhone development but I know a little C. I need to know how to execute an executable program (compatible under OS X) for an iPhone application. The program has been tested on the mac terminal and works without any flaws. In addition, that program is part of a library deemed platform independent, meaning that it has programmatic support for multiple operating systems.
A question that derives from the last one is: would an OS X compatible executable reliably work on the iPhone OS as well? I know that the iPhone OS is very similar to its counterpart.
Thanks for any help.
|
|
|
07-04-2009, 06:21 PM
|
#2 (permalink)
|
|
Former NeXTStep Developer
Join Date: Mar 2009
Posts: 996
|
You can't run a Mac OS X executable on an iPhone. Or vice versa. Different processors, among other things.
If you have the source, you can compile the code for the iPhone using the iPhone SDK. But if it's designed to be run as a command line program, you're going to have issues because there's no Terminal on the iPhone. Unless you're talking about a jailbreak environment, which is out of scope for this forum.
You'll have to take that command line code and wrap it in an iPhone application to do what you want, I think.
joe
|
|
|
 |
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
» Advertisements |
» Online Users: 497 |
| 59 members and 438 guests |
| AdyCoder, atsd, AXP, bensj, blackoutq3, BobK, bravetarget, cakeisalie, CHV, coconnor, cribasoft, CunningCat, danny8, davek, fede, Gamer211, gomugroup, Gudus, harrytheshark, healthyutech, henmue, iFizzgig, imsatasia, intomo, iPhoneDevelopment, itakenocrud, johnnybluejeans, kjelleinar, lepetitapps, Link, MacSteve85, markbuchanan, MarkC, MasterLee, MiniRobinho, mlo, nibby, NicolasD, Noise, not_too_shabby, P2k, pokypine, racer_X, raheel, robotcult, sayhong, SimonK, talakoski, Tambourin, umarmara, vcanic, virvalid, Vivek Nirkhe, Vonswanko, wassupdoc, ZunePod |
| Most users ever online was 779, 05-11-2009 at 10:55 AM. |
» Stats |
Members: 21,505
Threads: 35,786
Posts: 156,783
Top Poster: smasher (2,449)
|
| Welcome to our newest member, SimonK |
|