AUR
My PKGBUILD scripts.
Install / Use
/learn @rubenvb/AURREADME
These are my Arch Linux PKGBUILD files for a proper MinGW-w64 cross-compilation environment.
Find them in the AUR for more details that are missing.
This general build order for a mingw-w64 cross-compiler is necessary:
- headers binutils
- gcc-base
- crt winpthreads
- gcc
One PKGBUILD for everything is fugly, so there's 7, including 2 bootstrap packages...
The Final Build/Install order, as performed by yaourt when doing "yaourt -S mingw-w64-gcc":
- build+install mingw-w64-binutils
- build+install mingw-w64-headers-bootstrap
- build+install mingw-w64-headers(-svn)
- build+install mingw-w64-gcc-base
- build+install mingw-w64-crt(-svn)
- build+install mingw-w64-winpthreads (replaces mingw-w64-headers-bootstrap)
- build+install mingw-w64-gcc (replaces mingw-w64-gcc-base)
Note: GCC 4.8 requires MinGW-w64 v3 (current trunk, which means svn versions)
The resulting binary packages that non-AUR-users (once mingw-w64 is in a binary repo) should install:
- mingw-w64-headers
- mingw-w64-crt
- mingw-w64-winpthreads
- mingw-w64-binutils
- mingw-w64-gcc
All in group 'mingw-w64-toolchain'. At the end of the install process, you should have no packages from the group 'mingw-w64-bootstrap' installed.
