Re: Failure testing Windows installation

Nicola Pero <[email protected]> Sun, 21 Mar 2010 11:27:49 +0000
Newsgroups gmane.comp.lib.gnustep.user
Message-ID <[email protected]>
> The installation appears to be successful.  I can get a command  
> window with the
> MinGW shell. I have copied and saved the sample program hello.m.   
> When I try to
> execute the command those instructions suggest, i.e.:
>
> $ gcc `gnustep-config --objc-flags` -L /GNUstep/System/Library/ 
> Libraries hello.m
> -o hello -lgnustep-base
> -lobjc
>
> I get the message:
> gcc.exe: gnustep-config --objc-flags: No such file or directory
> hello.m:1:34: Foundation/Foundation.h:  No such file or directory

Try

gcc $(gnustep-config --objc-flags) $(gnustep-config --base-libs)  
hello.m -o hello

But you could use gnustep-make - it's very simple and does everything  
for you. :-)

Here's a tutorial introduction to it --

http://www.gnustep.it/nicola/Tutorials/WritingMakefiles/index.html

Thanks