PDA

View Full Version : compile?


kdbdallas
08-08-2007, 02:14 AM
Can someone tell me, or point me to a page that explains how to compile for the iphone once you have the toolchain?

Thanks

iphonejoe
08-09-2007, 05:02 AM
Well, there is all sorts of hello.app source out there. they all include simple makefiles. if you want to just do a simple compile, you can do:

arm-apple-darwin-cc -o main -framework IOKit -framework Foundation -framework CoreFoundation main.m

include more or less frameworks depending on what your code needs.