g++ is not compiling
Hello,
I have a RedHat 8.0 box with no development tools installed( no compilers and debuggers). I wanted to compile some C programs in my machine, so downloaded gcc-g++-2.95.2-2.i386.rpm and installed it. After installing g++ I tried to compile a simple "HelloWorld" program. g++ didnt compile the program and it gave the following error message on the terminal.
$ g++ hello.c
<command line>:1:13: warning: "system" re-asserted
<command line>:1:9: warning: "cpu" re-asserted
<command line>:1:13: warning: "machine" re-asserted
hello.c:1:19: stdio.h: No such file or directory
'which g++' gave /usr/bin/g++. I did some search, but couldnt solve the problem. How to make my C program work? Did I missed anything?
|