[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: gcc problem



On Mon, 20 Oct 1997 20:23:19 EDT Shaul Peleg (speleg@monmouth.com) 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
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: