Hi,

I have Redhat 5.2.

I created this hello.c file

#include <stdio.h>

main()
{
printf ("Hello world!\n");
}

and compiled it with gcc hello.c (no errors noted; a.out was created)

but when i type a.out this is the error message:

host$ a.out
bash: a.out: command not found
<END>

cc hello.c also compiles cleanly but a.out gives the same error message..

Please help and TIA.

Reply via email to