Date: Fri, 8 Nov 2002 12:26:06 -0700 From: Chad David <davidc@issci.ca> To: Jonathon McKitrick <jcm@FreeBSD-uk.eu.org> Cc: freebsd-chat@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG Subject: Re: Unresolved reference compiling Objective-C ?? Message-ID: <20021108192606.GA70330@colnta.acns.ab.ca> In-Reply-To: <20021108173235.GA82490@dogma.freebsd-uk.eu.org> References: <20021108173235.GA82490@dogma.freebsd-uk.eu.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Nov 08, 2002 at 05:32:35PM +0000, Jonathon McKitrick wrote: > > Hi all, > I just compiled a 'hello world' in objective c on a box with gcc but no > GNUstep. I'm using the compile command as I found it in the tutorial. > > Any idea what I did wrong? Try: gcc -o testme main.m printer.m -lobjc > > thanks, > jonathon > > > dogma:...files/programs/objc> gcc -lobjc main.m printer.m -o testme > main.m: In function `main': > main.m:4: warning: return type of `main' is not `int' -- Chad David davidc@issci.ca www.FreeBSD.org davidc@freebsd.org ISSci Inc. Calgary, Alberta Canada To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021108192606.GA70330>