title: Compile Objective-C with GNUstep
body: <p>I'm a newbie in Objective-C.  I'm trying to compile Objective-C with GNUstep but it's giving errors.  I tried to both compile on command line (gcc and makefile).</p>
  
  <pre><code>No such file or directory /
  excepted '&gt;' before 'GSPredicateBlock'
  …
  </code></pre>
  
  <p>I used the command line</p>
  
  <pre><code>gcc gnustep-config --objc-flags -o hello hello.m -I /GNUstep/System/Library/Headers -L /GNUstep/System/Library/Libraries -lobjc -lgnustep-base -fconstant-string-class=NSConstantString -enable-auto-import
  </code></pre>
  
  <p>My attempt at using a makefile:</p>
  
  <pre><code>Making all for tool Hello...
  Compiling file hello.m ...
  hello.m:1:71 fatal error: ../../GNUstep/System/Library/Headers/Foundation/Found ation.h: No such file or directory
  compilation terminated.
  make[3]: *** [obj/Hello.obj/hello.m.o] Error 1
  make[2]: *** [internal-tool-all_] Error 2
  make[1]: *** [Hello.all.tool.variables] Error 2
  make: *** [internal-all] Error 2
  </code></pre>
  
  <p>I've searched Google, but I can't find anything that helps.  I installed <code>gnustep-msys-system-0.28.0-setup</code>, <code>gnustep-core-0.28.0-setup</code> and <code>gnustep-devel-1.3.0-setup</code> on Windows 7.</p>