h8300-linux-gnu-gprof: 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/h8300-linux-gnu-gprof - from package: binutils-h8300-linux-gnu

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