I have a RedHat 6 machine, which came with gcc but without g++.
The gcc version is 4.4.4 20100726 (this is what I got from gcc --version).
How can I get g++ working? Currently, the shell just returns "command not found".
You need to install the gcc-c++ package: yum install gcc-c++
yum install gcc-c++
rpm -qa | grep gcc
rpm -qa | grep gc
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
4 years ago
1 year ago