Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Mar 1997 10:56:29 -0800 (PST)
From:      Snob Art Genre <ben@narcissus.ml.org>
To:        Mark Wefer <mwefer@primenet.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Please help w/ gcc
Message-ID:  <Pine.NEB.3.95.970323105559.13826A-100000@narcissus.ml.org>
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????? 

Very simple.  You are running /bin/test.  To run your program, try
"./test".
 
> Thanks, Mark.
> 
> 



 Ben

"You have your mind on computers, it seems."




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.95.970323105559.13826A-100000>