title: compiling Objective-C program on Windows
body: <p>A friend sent me 4 files (two <em>.m</em> files, one <em>.pch</em> file, and one <em>.h</em> file) that he says compile together into an Objective-C program.  From what I understand, it's an Apple language, and I use Windows.  I've been trying to compile it in a new project on Dev-C++, but haven't had any luck.  After some research, I downloaded a special Objective-C library for it and selected "Yes" under "Link an Objective C program," but am getting a build error when I try to compile it.</p>
  
  <p>The code uses Cocoa, but according to my friend, it will work the same in Windows if I import <em>Foundation.h</em> instead of <em>Cocoa.h</em>.  I found a tutorial on how to compile Objective-C programs in Windows <a href="http://www.roseindia.net/alltutorials/iphone/objectivec/" rel="nofollow noreferrer">here</a>, but I don't understand step 2 (which is "Set environment variable for GCC compiler (C:\GNUstep\mingw\bin\gcc.exe)") since that file doesn't exist on my computer.  When I follow the compilation instructions, I get this error: <em>sh: gcc: command not found</em>.  If possible, I'd rather compile it in a GUI-based compiler, as I hate working with command prompts.</p>
  
  <p>Any help with compiling these files on any program is greatly appreciated!</p>