MinGW distro build scripts.
Shell
Clone or download
Permalink
Failed to load latest commit information.
.gitignore Distro 12.0. Aug 9, 2014
0_append_distro_path.sh Remove fail_with. Oct 2, 2017
1_build_everything.sh Add 1_build_everything.sh. Oct 3, 2017
README.md Update MSYS2 incantations. Jun 24, 2018
binutils-bug-22762.patch binutils 2.30. Jun 25, 2018
binutils.sh binutils 2.30. Jun 25, 2018
boost.sh Boost 1.67.0. Jun 25, 2018
bzip2.sh Remove fail_with. Oct 2, 2017
coreutils.patch coreutils 8.29. Feb 20, 2018
coreutils.sh coreutils 8.29. Feb 20, 2018
freetype.sh FreeType 2.9.1. Jun 24, 2018
gcc-bug-86048.patch GCC 8.1.0 and mingw-w64 5.0.4. Jun 25, 2018
gdb.sh gdb 8.1. Feb 20, 2018
glbinding.sh glbinding 2.1.4. Fixes #31. Feb 25, 2018
glm.sh GLM 0.9.9.0. Jun 24, 2018
grep-configure.patch grep 3.1 fixes #6. Jul 31, 2017
grep-lock.patch grep 3.1 fixes #6. Jul 31, 2017
grep.sh Remove fail_with. Oct 2, 2017
lame.sh LAME 3.100. Feb 20, 2018
libjpeg-turbo.sh libjpeg-turbo 1.5.3. Feb 20, 2018
libpng.sh libpng 1.6.34. Feb 25, 2018
make.sh Remove fail_with. Oct 2, 2017
mingw-w64+gcc.sh GCC 8.1.0 apparently fixes #49. Jul 1, 2018
mpfr-4.0.1-p6.patch GCC 8.1.0 apparently fixes #49. Jul 1, 2018
pcre.sh PCRE 8.42. Jun 24, 2018
pcre2.sh PCRE2 10.31. Feb 25, 2018
pngcheck.sh Remove fail_with. Oct 2, 2017
pngcrush.sh Remove fail_with. Oct 2, 2017
sdl+libogg+libvorbis+sdl_mixer+vorbis-tools.sh SDL 2.0.8 and libvorbis 1.3.6. Jun 24, 2018
sdl-clipcursor.patch SDL 2.0.8 and libvorbis 1.3.6. Jun 24, 2018
sed.sh sed 4.5. Jun 25, 2018
zlib.sh Remove fail_with. Oct 2, 2017

README.md

MinGW Distro: nuwen.net/mingw.html

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:

  • Go to: https://sourceforge.net/projects/msys2/files/Base/x86_64/
  • Download: msys2-base-x86_64-20180531.tar.xz
  • Extract it to: C:\Temp\gcc\msys64
  • Run: msys2_shell.cmd
  • RECYCLE MSYS2, which means:
    • Close MSYS2 by clicking the window's red X. (Don't type exit.)
    • In Task Manager, terminate pacman.exe if it's still running. (Sometimes it will, sometimes it won't.)
    • Restart MSYS2.
  • In MSYS2, run: pacman -Syuu
  • RECYCLE MSYS2.
  • Repeat the previous two steps until you see this:
$ pacman -Syuu
:: Synchronizing package databases...
 mingw32 is up to date
 mingw64 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
  • In MSYS2, run: pacman -Su cmake diffutils make nasm patch tar texinfo
  • RECYCLE MSYS2.

Important Notes

The build scripts assume that they can use C:\Temp\gcc as a working directory and that they do not live directly within it. They also assume that they live next to the sources. I generally put both of them into C:\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 - stl@nuwen.net