Home Iphone Objectivec Compiling Objective C



Compiling Objective C
Posted on: September 12, 2008 at 12:00 AM
In this section we will show you how to compile Objective C program on windows and Max OS x machine.

Compiling Objective C

     

In this section we will show you how to compile Objective C program on windows and Max OS x machine. Compiling Objective C program is necessary as it generates the executable program that can run.

Compiling Objective C on windows

Go to the directory where hello.m example program is saved. You can use the following command.

 

 

$ cd c:/objectiveC

To compile program run the following command
$ gcc -o hello hello.m



This command will create a executable file of given name (here 'hello').

To run the program

$ ./hello

You can see output of the program?

Related Tags for Compiling Objective C:
windowscmaccomtableobjectiowindowexecutablecompileexecpilthiscompilingexemaxtabshowprogrammpitoramrunwsshgenerateeilitaxsectioncanmachineliceinasmoscaosjespihowobjobjectiveprorateratesdocutsxessaessatishallivandarsassthshochiabablhatjeprndonomogro


More Tutorials from this section

Ask Questions?    Discuss: Compiling Objective C   View All Comments

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.