Post Pic

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

 

Related posts:

  1. iPhone Development and a sample Objective C Program Kiichi and myself are learning how to program in Objective...
  2. Prof. Devi’s Game Engine Professor Devi released the first version of his 3D Game...
  3. iPhone SDK 3.0 – Playing with Map Kit I started looking at the Map Kit API for developing...
  4. Recompilining Apache with mod python After a long struggle with getting Django working with Apache,...
  5. NSMutableDictionary Example – iPhone App Development Basics in Objective-C Here is a simple example to add elements in a...

Related posts brought to you by Yet Another Related Posts Plugin.

Leave Your Response

* Name, Email, Comment are Required