An open API service indexing awesome lists of open source software.

https://github.com/holgern/rebuild-mingw

scripts for rebuilding MinGW-w64 targets from scratch
https://github.com/holgern/rebuild-mingw

Last synced: 2 months ago
JSON representation

scripts for rebuilding MinGW-w64 targets from scratch

Awesome Lists containing this project

README

        

# rebuild-mingw
scripts for rebuilding MinGW-w64 targets from scratch

Beginning with the following packages:
"""
mingw-w64--binutils
mingw-w64--bzip2
mingw-w64--crt-git
mingw-w64--expat
mingw-w64--gcc
mingw-w64--gcc-fortran
mingw-w64--gcc-libgfortran
mingw-w64--gcc-libs
mingw-w64--gcc-objc
mingw-w64--gdb
mingw-w64--gdbm
mingw-w64--gettext
mingw-w64--gmp
mingw-w64--headers-git
mingw-w64--isl
mingw-w64--libffi
mingw-w64--libiconv
mingw-w64--libsystre
mingw-w64--libtre-git
mingw-w64--libwinpthread-git
mingw-w64--make
mingw-w64--mpc
mingw-w64--mpfr
mingw-w64--ncurses
mingw-w64--openssl
mingw-w64--python2
mingw-w64--readline
mingw-w64--sqlite3
mingw-w64--tcl
mingw-w64--termcap
mingw-w64--tk
mingw-w64--windows-default-manifest
mingw-w64--winpthreads-git
mingw-w64--zlib
"""
The provided scripts can be used to compile several mingw-packages from https://github.com/Alexpux/MINGW-packages.
Copy the scripts in the base directory of MINGW-packages.

Problematic are circular dependencies:
cmake - jsoncpp - qt5
doxygen - clang - qt5
fontconfig - freetype - harfbuzz - cairo - poppler

Order of using scripts is:
* install msys2 from http://www.msys2.org/ to c:/msys64
* clone https://github.com/Alexpux/MINGW-packages.git to c:/MINGW-packages
* clone https://github.com/holgern/rebuild-mingw.git to c:/rebuild-mingw
* cp all mingw-w64-* directories from c:/rebuild-mingw to c:/MINGW-packages
* Modify packages in MINGW-packages as you wish
* start msys2-terminal
* do pacman -Syu
* close
* pacman -S $(cat /c/rebuild-mingw/package_list_msys.txt)
* remove all mingw-w64 packages with pacman -R $(pacman -Qq | grep mingw-w64)
* pacman -Syu
* pacman -S mingw-w64-i686-toolchain mingw-w64-x86_64-toolchain
* ./rebuild_all.sh