msys2version

MSYS2 Environment Settings

After installation, the package's variables indicate which MSYS2 Environment is active.

  • msys2:msystem (exported as MSYSTEM) is the MSYS2 Environment Name.
  • msys2:carch (exported as MSYSTEM_CARCH) is the compiler's target architecture (i686, x86_64 or aarch64),
  • msys2:chost (exported as MSYSTEM_CHOST and MINGW_CHOST) is the compiler's target triplet ("%{msys2:carch}%-w64-mingw32").
  • msys2:root (exported as MSYSTEM_PREFIX and MINGW_PREFIX) is the Unix path to the root of the MSYS2 Environment.
  • msys2:package-prefix (exported as MINGW_PACKAGE_PREFIX) is the prefix used for MSYS2 Pacman packages for this Environment.

Additionally, Path, MANPATH and INFOPATH are all updated with the appropriate directories from msys2:root. PKGCONFIG_PATH, PKG_CONFIG_SYSTEM_INCLUDE_PATH, PKG_CONFIG_SYSTEM_LIBRARY_PATH and ACLOCAL_PATH are all _set to the appropriate values for msys2:root. Finally, CONFIG_SITE is exported as /etc/config.site as per MSYS2's own configuration.

See https://www.msys2.org/docs/environments/ for further information.

AuthorDavid Allsopp
LicenseCC0-1.0+
Published
Homepagehttps://opam.ocaml.org
Issue Trackerhttps://github.com/ocaml/opam-repository/issues
MaintainerDavid Allsopp <david@tarides.com>
Availableos = "win32" & os-distribution = "msys2"
Dependencies
Source [http] https://github.com/dra27/msys2-opam/archive/refs/tags/0.1.0.tar.gz
sha256=9532eb3711376d8437d95abbf91875755a933882ec58b4b5f2318e8a1d6f312c
sha512=bcf3adbec1dfe065785f36e27fa84a7de72dea71d0cb0a63b2fb9fd89fac9db5455caa6aafeec7ce98317438677aacb77e6e28b24ba67481b19ebe45dca98cc4
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/msys2/msys2.0.1.0/opam