cgcc: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/bin/cgcc - from package: sparse

You may install the required package with command yum install {package}
Error in other languages:
cgcc: bevel nie gevind nie
cgcc: comandă negăsită
cgcc: comando não encontrado
cgcc: commande introuvable
cgcc: command not found
cgcc: käsku ei ole
cgcc: không tìm thấy lệnh
cgcc: komanda nerasta
cgcc: Kommando nicht gefunden.
cgcc: kommandot finns inte
cgcc: komut yok
cgcc: nie znaleziono polecenia
cgcc: níor aimsíodh an t-ordú
cgcc: no se encontró la orden
cgcc: no s'ha trobat l'ordre
cgcc: opdracht niet gevonden
cgcc: parancs nem található
cgcc: perintah tidak ditemukan
cgcc: príkaz nenájdený
cgcc: příkaz nenalezen
cgcc: команда не найдена
cgcc: командата не е открита
cgcc: 命令找不到
cgcc: コマンドが見つかりません