Best thing to do is write a Makefile for your application.  Follow this
tutorial: http://www.gnustep.it/nicola/Tutorials/WritingMakefiles/

On Thu, Jan 26, 2012 at 10:57 AM, bogdan filip <[email protected]> wrote:

> hello,
>
> i wonder if you could help me out.
> i cannot compile hello.m
>
> #include <Foundation/Foundation.h>
>
>
> int main(int argc, const char *argv[])
> {
>     NSautoreleasePool*pool=[[nsautoreleasepool alloc] init];
>
>     nslog(@"Hello World!\n How the fuck does this work?\n");
>
>     [pool drain];
>     return 0;
> }
>
>
>
> i have tried everything i could find on the web, nothing worked. the
> message is
>
> Ursu@URSU /c/objectivec
> $ gcc hello.m
> hello.m:1:35: fatal error: Foundation/Foundation.h: No such file or
> directory
> compilation terminated.
>
> thank you for your time
>
> _______________________________________________
> Discuss-gnustep mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/discuss-gnustep
>
>
_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to