Date: Sun, 23 Mar 1997 14:23:10 -0500 (EST) From: Jason Andresen <jandrese@vt.edu> To: Mark Wefer <mwefer@primenet.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Please help w/ gcc Message-ID: <Pine.BSF.3.95.970323142154.27448A-100000@jandrese.async.vt.edu> In-Reply-To: <1.5.4.32.19970323183847.0066c668@pop.primenet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <stdio.h>
=)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.
:::::::::::.:.:.:.:.:.:.:.........................:.:.:.:.:.:.:.:::::::::::
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.970323142154.27448A-100000>
