[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help error debuging
From: |
Germán Arias |
Subject: |
Re: Help error debuging |
Date: |
Thu, 24 Apr 2014 23:19:51 -0600 |
User-agent: |
GNUMail (Version 1.2.1) |
On 2014-04-24 22:52:08 -0600 Aman kumar choudhary <amankch@gmail.com> wrote:
> I have done all the thing whatever you had told in your previous mail,
> installation of gnustep, get all necessary dependencies, uninstallation of
> gnustep and then installation of gnustep gnustep-devel. But still I m
> facing problem with compilation of file. I am attaching all erroneous
> screen-shot and file with this mail, please help me and give some
> suggestion for any good Objective C book.
>
With GNUstep you should use a file named GNUmakefile, with a content like this:
VERSION = 0.1
PACKAGE_NAME = Hello
TOOL_NAME = Hello
Hello_OBJC_FILES += \
hello.m
include $(GNUSTEP_MAKEFILES)/tool.make
Save this file at directory where is your hello.m file. Then, in a Shell, cd to
that directory and run "make". This should build your tool. Then "./obj/Hello"
to run it. See:
http://www.gnustep.it/nicola/Tutorials/WritingMakefiles/
http://www.gnustep.org/resources/documentation/Developer/Make/Manual/gnustep-make.html
for more info about how write GNUmakefiles.
Regrds.
Germán.