All Projects → msys2 → Mingw Packages

msys2 / Mingw Packages

Licence: bsd-3-clause
Package scripts for MinGW-w64 targets to build under MSYS2.

Programming Languages

shell
77523 projects
c
50402 projects - #5 most used programming language
tcl
693 projects
python
139335 projects - #7 most used programming language
fortran
972 projects
C++
36643 projects - #6 most used programming language

'main' workflow Status

MINGW-packages

This repository contains package scripts for MinGW-w64 targets to build under MSYS2.

MSYS2 is an independent rewrite of MSYS providing a Unix-like environment and command-line interface for Windows making it possible to port software running on POSIX systems (such as Linux, BSD, and Unix systems) to Windows.

Documentation

See the MSYS2 website.

Using packages

The common way to use these packages are pre-built binary packages from the MSYS2 MINGW64 repo (which includes the binaries, libraries, headers, man pages), and install it on your machine, and build against those packages/libraries as you are porting/writing your software.

Details about this, including information about how to find the correct package, are found in the MSYS2 documentation.
Short summary:

Assuming you have a properly installed MSYS2 environment, you can install the pre-built binary package by using the following command from the bash prompt:

   pacman -S ${package-name}

Please note: Not all the packages in this repository are built and accessible from the MSYS2 MINGW64 repo right away. After merging changes to the git repository it can take a few days until compiled and built packages are accessible in the repo. Also for some packages you can find older versions in the repo if you need older version, for some packages you have only the most recent version.


As an alternative you can download or clone the package folder with the scripts to your machine and you build it for yourself, in whatever version you like.

Assuming you have a properly installed MSYS2 environment and build tools, you can build any package using the following command:

   cd ${package-name}
   MINGW_ARCH=mingw64 makepkg-mingw -sLf

After that you can install the freshly built package(s) with the following command:

   pacman -U ${package-name}*.pkg.tar.xz

Creating packages

See the MSYS2 documentation for instructions and advice about creating MINGW-packages.

License

MSYS2-packages is licensed under BSD 3-Clause "New" or "Revised" License. A full copy of the license is provided in LICENSE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].