From owner-freebsd-questions Thu Jul 8 13:55:35 1999 Delivered-To: freebsd-questions@freebsd.org Received: from kiwi.pinnacle.co.nz (pinnacle.internet.co.nz [210.48.55.133]) by hub.freebsd.org (Postfix) with ESMTP id 571DE15142 for ; Thu, 8 Jul 1999 13:55:10 -0700 (PDT) (envelope-from jonc@pinnacle.co.nz) Received: from kiwi.pinnacle.co.nz (kiwi.pinnacle.co.nz [202.37.163.2]) by kiwi.pinnacle.co.nz (8.9.3/8.9.3) with ESMTP id IAA03741; Fri, 9 Jul 1999 08:51:51 +1200 (NZST) Date: Fri, 9 Jul 1999 08:51:50 +1200 (NZST) From: Jonathan Chen To: Rezamys Cc: freebsd-questions@FreeBSD.ORG Subject: Re: newbie: how to compile & run C program in 3.2Release? In-Reply-To: <37841BF3.3BB6F13A@tm.net.my> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 8 Jul 1999, Rezamys wrote: > So rename the a.out file: cc hello.c -o hello > Then run it: ./hello > Ouput: "hello, world!" > > > I haven't tried using gcc before. Will this GNU C Compiler work? > cheers! The C compiler with FreeBSD *IS* gcc. Jonathan Chen ---------------------------------------------------------------------- "A person should be able to do a small bit of everything, specialisation is for insects" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message