Is gcc/g++ in your path? Type:
and see if it's on your system.
If that doesn't work, these may find it:
If it isn't on your system, you need to install it from the
CD's that you used to install your system. If it is on your
system, you need to add its location to your $PATH
In the above example, lines starting with $> indicate
a prompt with user input, lines without a prompt indicate
the example results of the inputs.
Hope this helps,