Phil asked:
Hey guys,
I’m new to 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.

The iPhone uses a completely different CPU, so there is zero compatibility at the executable level.