Here is the situation:
I want to write some C program and run it on iPhone.
iPhone has different CPU than the Mac so I have to use a different compiler to compile the codes. I am not sure but I think xcode uses arm-apple-darwin9-gcc instead of a normal gcc for Mac to compile code so the resulting executable could be run on iPhone.
So anyone could tell me if I want to compile a C program by going through :
./configure > make procedure how could I do it?