https://github.com/Zeranoe/mingw-w64-build
MinGW-w64 build script
https://github.com/Zeranoe/mingw-w64-build
bash cross-compiler mingw mingw-w64 toolchain
Last synced: 3 months ago
JSON representation
MinGW-w64 build script
- Host: GitHub
- URL: https://github.com/Zeranoe/mingw-w64-build
- Owner: Zeranoe
- License: gpl-3.0
- Created: 2017-06-10T23:09:12.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2025-06-12T01:38:00.000Z (4 months ago)
- Last Synced: 2025-06-12T02:46:22.482Z (4 months ago)
- Topics: bash, cross-compiler, mingw, mingw-w64, toolchain
- Language: Shell
- Size: 64.5 KB
- Stars: 229
- Watchers: 15
- Forks: 108
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mingw-w64-build
mingw-w64-build is a Bash script to build a [MinGW-w64](https://mingw-w64.org)
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
* [MinGW-w64](https://mingw-w64.org) master
* [Binutils](https://www.gnu.org/software/binutils/) binutils-2_44-branch
* [GCC](https://gcc.gnu.org/) releases/gcc-14## 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//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.