From owner-freebsd-questions Fri Nov 8 12:21:33 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8042537B401; Fri, 8 Nov 2002 12:21:31 -0800 (PST) Received: from probity.mcc.ac.uk (probity.mcc.ac.uk [130.88.200.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC66843E42; Fri, 8 Nov 2002 12:21:29 -0800 (PST) (envelope-from jcm@freebsd-uk.eu.org) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97]) by probity.mcc.ac.uk with esmtp (Exim 2.05 #7) id 18AFcw-000CXD-00; Fri, 8 Nov 2002 20:21:14 +0000 Received: from dogma.freebsd-uk.eu.org (localhost [127.0.0.1]) by dogma.freebsd-uk.eu.org (8.12.3/8.11.1) with ESMTP id gA8KLD9l083254; Fri, 8 Nov 2002 20:21:14 GMT (envelope-from jcm@dogma.freebsd-uk.eu.org) Received: (from jcm@localhost) by dogma.freebsd-uk.eu.org (8.12.3/8.12.3/Submit) id gA8KLDrC083253; Fri, 8 Nov 2002 20:21:13 GMT Date: Fri, 8 Nov 2002 20:21:12 +0000 From: Jonathon McKitrick To: freebsd-chat@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG Subject: Re: Unresolved reference compiling Objective-C ?? Message-ID: <20021108202112.GA83241@dogma.freebsd-uk.eu.org> References: <20021108173235.GA82490@dogma.freebsd-uk.eu.org> <20021108192606.GA70330@colnta.acns.ab.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021108192606.GA70330@colnta.acns.ab.ca> User-Agent: Mutt/1.4i X-Scanner: exiscan *18AFcw-000CXD-00*yFsCsJDw4HE* (Manchester Computing, University of Manchester) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Nov 08, 2002 at 12:26:06PM -0700, Chad David wrote: | 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 That did it! Thanks! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message