From owner-freebsd-questions Sun Mar 23 11:23:08 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA22105 for questions-outgoing; Sun, 23 Mar 1997 11:23:08 -0800 (PST) Received: from quackerjack.cc.vt.edu ([198.82.160.250]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id LAA22099 for ; Sun, 23 Mar 1997 11:22:58 -0800 (PST) Received: from sable.cc.vt.edu (sable.cc.vt.edu [128.173.16.30]) by quackerjack.cc.vt.edu (8.8.4/8.8.4) with ESMTP id OAA29211; Sun, 23 Mar 1997 14:22:49 -0500 (EST) Received: from jandrese.async.vt.edu (jandrese.async.vt.edu [128.173.20.208]) by sable.cc.vt.edu (8.8.5/8.8.5) with SMTP id OAA05465; Sun, 23 Mar 1997 14:22:47 -0500 (EST) Date: Sun, 23 Mar 1997 14:23:10 -0500 (EST) From: Jason Andresen X-Sender: jandrese@jandrese.async.vt.edu 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????? =) There is already a program called 'test'. Try typing ./test, or name the file something else ala gcc -o foo test.c :::::::::::::::::::::::::::. . . . . ..:::::::::::::::::::::::::::: :: Jason Andresen :. . . . . . . . . : Web and FTP server at :: :: jandrese@vt.edu :.:.:.:.:.:.:.:.:.:: jandrese.async.vt.edu :: :.........................: Quote of the day :..........................: New York is real. The rest is done with mirrors. :::::::::::.:.:.:.:.:.:.:.........................:.:.:.:.:.:.:.:::::::::::