On Mon, 20 Oct 1997 20:23:19 EDT Shaul Peleg ([EMAIL PROTECTED]) wrote:

> Can anyone tell me why I can't run the executable (if it is that!) that
> gcc compiles? Is there some kind of setup required? I am compiling in my
> home directory and another file, without the suffix is made but can't be
> run! Thanks all!

Assuming you're compiling with:
        gcc -o foo foo.c

You need to run it as ./foo, not foo.
The . directory doesn't come by default in your path for security reasons.
You can add it in your .bashrc if you want.

Phil.



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .

Reply via email to