i586-mingw32msvc-g++: 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-g++ - from package: mingw32

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