From owner-freebsd-chat Fri Nov 8 14:12:39 2002 Delivered-To: freebsd-chat@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 60D4337B401; Fri, 8 Nov 2002 14:12:38 -0800 (PST) Received: from harrier.mail.pas.earthlink.net (harrier.mail.pas.earthlink.net [207.217.120.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1FB9743E3B; Fri, 8 Nov 2002 14:12:38 -0800 (PST) (envelope-from tlambert2@mindspring.com) Received: from pool0224.cvx22-bradley.dialup.earthlink.net ([209.179.198.224] helo=mindspring.com) by harrier.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 18AHMJ-00009y-00; Fri, 08 Nov 2002 14:12:12 -0800 Message-ID: <3DCC366D.546DD998@mindspring.com> Date: Fri, 08 Nov 2002 14:10:53 -0800 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Jonathon McKitrick Cc: freebsd-chat@freebsd.org, freebsd-questions@freebsd.org Subject: Re: Unresolved reference compiling Objective-C ?? References: <20021108173235.GA82490@dogma.freebsd-uk.eu.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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? > dogma:...files/programs/objc> gcc -lobjc main.m printer.m -o testme You used the vanilla gcc compiler, instead of the Objective C compiler. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message