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.
- Re: gcc problems Alvin B. Marcelo
- Re: gcc problems Gevaerts Frank
- Re: gcc problems linuxlists
- Re: gcc problems greg
- Re: gcc problems Ray Olszewski
- Re: gcc problems greg
