hardened-cc: 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 Debian possible default full paths are:

/usr/bin/hardened-cc - from package: hardening-wrapper

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