Hello,
I'm learning Objective-C and using GNUStep, but when i try to execute my very simple Hello World application, just to test, it doesn't printed nothing. My code is like this:
// main.m
#include <stdio.h>
int main(void)
{
printf("Hello, World\n");
}
Here is the GNUmakefile:
GNUSTEP_MAKEFILES = /GNUstep/System/Library/Makefiles
include $(GNUSTEP_MAKEFILES)/common.make
APP_NAME = HelloWorld
HelloWorld_HEADERS =
HelloWorld_OBJC_FILES = main.m
HelloWorld_RESOURCE_FILES =
include $(GNUSTEP_MAKEFILES)/application.make
And when i execute this application i got this:
Nathan Campos@EEEPC-VMD0U56 ~/HelloWorld.app
$ ./HelloWorld
Nathan Campos@EEEPC-VMD0U56 ~/HelloWorld.app
$
What is wrong?