Install mingw-w64 by entering the following commands in the terminal:
sudo apt update sudo apt install mingw-w64
Description:
Development environment targeting 32- and 64-bit Windows
MinGW-w64 provides a development and runtime environment for 32- and 64-bit (x86 and x64) Windows applications using the Windows API and the GNU Compiler Collection (gcc). . This metapackage provides the MinGW-w64 development environment, including C and C++ compilers. Ada, Fortran, Objective-C and Objective-C++ compilers are available respectively in the gnat-mingw-w64, gfortran-mingw-w64, gobjc-mingw-w64 and gojbc++-mingw-w64 packages.
Homepage: http://mingw-w64.sf.net
Version: 5.0.3-1
Section: universe/devel