Re: compile problems

Adam Fedor <[email protected]>
Newsgroups gmane.comp.lib.gnustep.user
Message-ID <[email protected]>
On Nov 21, 2004, at 11:23 AM, Nicolas Roard wrote:

>>
>> Try putting the -lobjc at the end of the line.
>
> I think he just didn't link to Foundation (where I will expect 
> NSObject to be)
>
>

Yes, I fixated on the Objective-C part.  In that case, why not use a 
Makefile, like this?

# GNUstep Makefiles
include $(GNUSTEP_MAKEFILES)/common.make

TOOL_NAME = MyTool
MyTool_OBJC_FILES = main.m fraction.m

include $(GNUSTEP_MAKEFILES)/tool.make

Or look at some of the mini-tutorials, like:

http://www.gnustep.it/nicola/Tutorials/WritingMakefiles/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.