This is just a collection of notes and bash (or sh) scripting dedicated to setting up a custom build environment around a mingw-w32 or few. This would probably not be of any interest to any particular individual as compared to other much better team driven scripts and/or projects out there like github.com/Alexpux/MINGW-packages—which I encountered a short time after writing much of this script.
- First we would do a
git checkout ...
- download the patch
- apply the patch
make ; make install
After patching, a bash process might look something like: