diff options
author | Kyle Schwarz <zeranoe@gmail.com> | 2021-08-29 22:13:04 -0400 |
---|---|---|
committer | Kyle Schwarz <zeranoe@gmail.com> | 2021-08-29 22:13:04 -0400 |
commit | 73f3ddaabad202171ee89e032500f3de0458f9d2 (patch) | |
tree | 899cebee3f1ad00aeaa8bb0c9da8938b4310e048 /README.md | |
parent | 15801def126642e4e2d4e2220e0d344ed8f1239e (diff) |
Rewrite mingw-w64-build
Summary of changes:
* The build process has been moved out of the working directory and into
$HOME/.zeranoe/mingw-w64/src and $HOME/.zeranoe/mingw-w64/bld
* The output toolchain(s) are no longer installed to ./<arch>, but to
$HOME/.zeranoe/mingw-w64/<arch> or --prefix
* Switch to GCC's download_prerequisites for downloading ISL, GMP, MPFR,
and MPC
* Add numerous options, see --help
* Add progress reporting
* Update MinGW-w64, GCC, and Binutils default branches
* Clean up by default, removing the intermediate source, build, and log
files
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 35 |
1 files changed, 21 insertions, 14 deletions
@@ -1,20 +1,27 @@ # mingw-w64-build -[MinGW-w64](https://mingw-w64.org) cross compiler build script for i686 (Win32) and x86_64 (Win64). +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. -## Package -* [MinGW-w64](https://mingw-w64.org) 8git -* [Binutils](https://www.gnu.org/software/binutils/) 2.35git -* [GCC](https://gcc.gnu.org/) 10git -* [GMP](https://gmplib.org/) 6.2.1 -* [MPFR](http://www.mpfr.org/) 4.1.0 -* [MPC](http://www.multiprecision.org/mpc/) 1.2.1 -* [isl](http://isl.gforge.inria.fr/) 0.23 +## Default Branches +* [MinGW-w64](https://mingw-w64.org) v9.x +* [Binutils](https://www.gnu.org/software/binutils/) binutils-2_37-branch +* [GCC](https://gcc.gnu.org/) releases/gcc-11 -## Platforms -mingw-w64-build should run on Ubuntu, Cygwin, macOS (with Homebrew), and other Bash based shells. +## 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`. -## 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. +## Platforms +mingw-w64-build should run on Ubuntu, Cygwin, macOS (with Homebrew), and other +Bash based shells. ## Usage -See `mingw-w64-build --help` for build options. +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. |