amd64-mingw32msvc-as: 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/amd64-mingw32msvc-as - from package: mingw32-binutils

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