mingw-objcopy: 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/mingw-objcopy - from package: mingw-binutils-generic

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