no G++ command
I'm using Red Hat 9 for my CS classes and in lab we are using g++ to compile our programs for C++. I just put RH 9 onto my computer and when I try to compile with g++ it doesn't work and says 'g++ command not found.' Is there anyway to put it on there so I can compile?
|
you need to install the GCC compiler. It has the c and C++ compilers in it. (the g++ is the name for the C++ compiler in the GCC package).
Alex |
Thanks for helping. I got it to work now.
|
It could also be a missing symlink somewhere. There should be a command to check for a GCC .rpm file, and you can search for its binaries by something like:
$ find / | grep "gcc" And if that delivers nothing, try installing it! :) |
All times are GMT -5. The time now is 07:59 AM. |