From owner-freebsd-questions Sun Mar 23 10:56:26 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id KAA19089 for questions-outgoing; Sun, 23 Mar 1997 10:56:26 -0800 (PST) Received: from narcissus.ml.org (root@brosenga.Pitzer.edu [134.173.120.201]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id KAA19080 for ; Sun, 23 Mar 1997 10:56:21 -0800 (PST) Received: from localhost (ben@localhost) by narcissus.ml.org (8.8.5/8.7.3) with SMTP id KAA13831; Sun, 23 Mar 1997 10:56:29 -0800 (PST) Date: Sun, 23 Mar 1997 10:56:29 -0800 (PST) From: Snob Art Genre To: Mark Wefer cc: freebsd-questions@FreeBSD.ORG Subject: Re: Please help w/ gcc In-Reply-To: <1.5.4.32.19970323183847.0066c668@pop.primenet.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Sun, 23 Mar 1997, Mark Wefer wrote: > Hello - I've just installed 2.1.7 w/ the novice / developers setup > and am having a little tbl getting gcc to work. (???) > > My source file - test.c - is: > > #include > main() > { > printf("FreeBSD Rules......\n"); > return 0; > } > > When I run the command: "gcc -o test test.c" it seems to complete > ok, I don't see any errors or anything, and it makes a file called > "test". > > When I try to execute the "test" file it just returns to my prompt. > > Could someone please help????? Very simple. You are running /bin/test. To run your program, try "./test". > Thanks, Mark. > > Ben "You have your mind on computers, it seems."