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

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