-
Notifications
You must be signed in to change notification settings - Fork 724
Closed
Description
There's zero documentation for windows users on how to utilize msys2 and link to system C libraries.
- https://cabal.readthedocs.io/en/stable/search.html?q=msys2&check_keywords=yes&area=default
- https://cabal.readthedocs.io/en/stable/search.html?q=mingw&check_keywords=yes&area=default
So far, GHCup is doing silent work here by setting extra-lib-dirs, extra-include-dirs and extra-prog-path to the correct locations: https://github.com/haskell/ghcup-hs/blob/2fdf896fbdd338ba6b4244c47b10dcd4067552e0/scripts/bootstrap/bootstrap-haskell#L598
The semantics and implications of these settings on windows should be documented, especially in light of MSYS2 environments.
Also see:
GHCup should not be where this is documented. Cabal needs to step up its game on windows.
Kleidukos, bradrn, Mikolaj, karamellpelle and runeksvendsen