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 We tried to go out to dinner afterward, but after being seated and ordering detox diet drinks at Gordon Biersch, we noticed that Sam was unwilling to remain vertical. 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

 

By: gavi on: