views:

1675

answers:

3

How to compile simple C file using GNU C Compiler/gcc & Mobile-Terminal on the iPhone?! Do I need extra files?

+1  A: 

There is a nice iphone os c/c++ compiler by (pH - Pedro Henrique). look at http://www.spaziocellulare.com/ispazio/2009/03/29/iphone-os-cc-compiler-cydia/ or search cydia for the package.

A: 

yes, you need setup extra packages from Cydia. -Make -iphone 1.1.1 headers the second one is no more available from Cydia. but there is header file from iphone SDK must insert manually: http://www.megaupload.com/?d=55ZNOCKI I'm not sure but i think it must unzip in ~/var/include (search about it!).

violiance
A: 

you must insert header files in "/private/var/include"

violiance