/mingw-w64-build

MinGW-w64 build script

Primary LanguageShellGNU General Public License v3.0GPL-3.0

mingw-w64-build

mingw-w64-build is a Bash script to build a MinGW-w64 cross compiler for i686 (Win32) and x86_64 (Win64). It will build a fully static toolchain that can compile Windows executables that don't depend on any GCC dll files.

Default Branches

Default Prefix

$HOME/.zeranoe/mingw-w64/i686 and $HOME/.zeranoe/mingw-w64/x86_64 are the default install locations, but this location can be modified with the --prefix option. To ensure the new compilers are available system-wide, add $HOME/.zeranoe/mingw-w64/<arch>/bin to the $PATH.

Platforms

mingw-w64-build should run on Ubuntu, Cygwin, macOS (with Homebrew), and other Bash based shells.

Usage

See mingw-w64-build --help for all build options.

License

mingw-w64-build is licensed under the GNU GPL 3.0 or later. A copy of the license can be found in the LICENSE file.