Compiling Objective-C using only Command Line
My newest love is TextMate, the ultimate Mac OSX text editor. I am so used to having TextPad on Windows that i felt lost with out a good editor. I used vi for a while, but it felt awkward after sometime. As you know from my previous blog posts, I am learning Objective-C to program the iPhone. I am using textmate now to program simple console based Objective C programs. So if you want to compile them using command line use the following
gcc sample.m -o sample -L /System/Library/Frameworks/Foundation.framework/Foundation