Q: GCC: bash: a.out: command not found?

2000-11-13 Thread Jonathan Gift
Hi,

I installed the compiler with the default Debian 2.2 C/C++ tasksel. I
compiled my kernel fine. But I tried a sipme hello world in C and when
tried to run a.out I got:

GCC: bash: a.out: command not found

I got a feeling this is a path isue. But to what? I tried the gcc readme,
the FAQ online and on disk. Nothing.

Help appreciated. I'd like to get on with the KR book!

Thanks,

Jonathan



Re: Q: GCC: bash: a.out: command not found?

2000-11-13 Thread Mark Brown
On Mon, Nov 13, 2000 at 01:17:02PM +0100, Jonathan Gift wrote:

 GCC: bash: a.out: command not found

 I got a feeling this is a path isue. But to what? I tried the gcc readme,
 the FAQ online and on disk. Nothing.

Try ./a.out.  By default the current directory is not on your path.

-- 
Mark Brown  mailto:[EMAIL PROTECTED]   (Trying to avoid grumpiness)
http://www.tardis.ed.ac.uk/~broonie/
EUFShttp://www.eusa.ed.ac.uk/societies/filmsoc/



Re: Q: GCC: bash: a.out: command not found?

2000-11-13 Thread Jonathan Gift
Hi,

 Try ./a.out.  By default the current directory is not on your path.

I'm a moron, of course, that has to be it. I was just following the book
blind...

Much thanks.

Jonathan