You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’ve wished for proper documentation for this area for a long time. Happy to help write some if I can, though it’s been a while since I’ve done really large amounts of work on Windows.
Feel free to review/propose changes on #9723 where I summarized what I know of using Windows + Cabal + GHC. One thing I think that document is missing is a "Common problems on Windows and how to solve them" section, but yet I think what I wrote can serve as a first version.
There's zero documentation for windows users on how to utilize msys2 and link to system C libraries.
So far, GHCup is doing silent work here by setting
extra-lib-dirs
,extra-include-dirs
andextra-prog-path
to the correct locations: https://github.com/haskell/ghcup-hs/blob/2fdf896fbdd338ba6b4244c47b10dcd4067552e0/scripts/bootstrap/bootstrap-haskell#L598The 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.
The text was updated successfully, but these errors were encountered: