Here are the build scripts for my MinGW distro.
You'll need to run them in MSYS2, which you can set up without an installer:
msys2-base-x86_64-latest.tar.xz
E:\Temp\msys64
msys2_shell.cmd
pacman -Syuu
until you see:
:: Synchronizing package databases...
clangarm64 is up to date
mingw32 is up to date
mingw64 is up to date
ucrt64 is up to date
clang32 is up to date
clang64 is up to date
msys is up to date
:: Starting core system upgrade...
there is nothing to do
:: Starting full system upgrade...
there is nothing to do
pacman -Su cmake diffutils m4 make nasm ninja patch tar texinfo mingw-w64-clang-x86_64-rust
The build scripts assume that:
C:\MinGW
contains the previous version of the distro.
0_append_distro_path.sh
, where it says export X_DISTRO_ROOT=/c/mingw
.E:\Temp\gcc
is usable as a working directory.
0_append_distro_path.sh
, where it says export X_WORK_DIR=/e/temp/gcc
.E:\Temp\gcc
.
E:\Temp\gcc\sources-VERSION
.I highly recommend that you execute each build script by hand before attempting to run it in one shot.
Stephan T. Lavavej - [email protected]