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/