package msys2

  1. Overview
  2. No Docs
MSYS2 Environment Settings

Install

Dune Dependency

Authors

Maintainers

Sources

0.1.0.tar.gz
sha256=9532eb3711376d8437d95abbf91875755a933882ec58b4b5f2318e8a1d6f312c
sha512=bcf3adbec1dfe065785f36e27fa84a7de72dea71d0cb0a63b2fb9fd89fac9db5455caa6aafeec7ce98317438677aacb77e6e28b24ba67481b19ebe45dca98cc4

Description

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. PKG_CONFIG_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.

Published: 05 Jun 2024

OCaml

Innovation. Community. Security.