gcc 2.91.66 problem on RH6.0
user
userATstudents.uwf.edu
Mon Sep 13 17:09:00 GMT 1999
I'm having the same problem under Linux-Mandrake 6.0....let me know if you
hear anything.
jaems
jldean@home.com
flevine@my-deja.com wrote:
> I am running Red Hat Linux 6.0 with gcc 2.91.66. I am having some
> problems whenever I compile my program.... right now, I am just trying
> to get the "Hello World" program to work.
>
> The Program: hello.c
> #include <stdio.h>
>
> main()
> {
> printf("Hello World\n");
> }
>
> What I am typing: gcc -o hello hello.c
>
> ok, so this should work..... except that when I try to run "hello" it
> tells me "hello : command not found".
>
> From what I can gather, this means that gcc is not making a valid
> executable. Where am I going wrong? I have used gcc at school many
> times, and it's not that tough!
>
> Thanks
>
> Sent via Deja.com http://www.deja.com/
> Share what you know. Learn what you don't.
More information about the Gcc-help
mailing list