Hello,
It seems to be a PATH problem, so to find where gcc is installed you can type this command (It may take a very long time):
Then try to run gcc with full path (ie /usr/bin/gcc). If that works it means it was really a PATH problem. So add the missing PATH to your environnement variable:
Code:
export PATH=$PATH:/my/gcc/path
To make it permanent, add the previous line in your ~/.bashrc for example.
Oliv'