Objective C on Windows

In this section you will learn how to use Objective C on Windows machine. We will download and install Objective C Windows compiler.

Objective C on Windows

Objective C on Windows

     

In this section you will learn how to use Objective C on Windows machine. We will download and install Objective C Windows compiler. On windows GNU C compiler can be used to compile the Objective C program.

Objective C Compiler for Windows

The GNUstep windows installer can be downloaded and installed  on the windows system to compile the Objective program. GNUset is objective c compiler for windows, that we will be using in our tutorial. The objective c compiler for windows can be downloaded from http://www.gnustep.org/experience/Windows.html.

Follow the following steps to download and install Objective C compiler for your windows system:

  1. Download:
    Go to the site http://www.gnustep.org/experience/Windows.html  and download the GNUsetup installer from the there. In our case the downloaded file is gnustep-system-0.19.2-setup.exe. Then double click on the downloaded file gnustep-system-0.19.2-setup.exe and install it on your system.
      
  2. Set environment variable for GCC compiler (C:\GNUstep\mingw\bin\gcc.exe).
      
  3. Open start -> programs -> GNUstep -> shell
     
    This is like a command prompt in windows.

Congratulations! You have successfully installed the GNUsetp to compile and run Objective C program on your windows system. In the next section we will show you how to run the compile and run the Objective program on windows environment.