ghcup-hs icon indicating copy to clipboard operation
ghcup-hs copied to clipboard

ghcup install of ghc 9.8.4 fails on mac 15.1 ('iostream' file not found), needs env var

Open simonmichael opened this issue 1 year ago • 4 comments

Here's the workaround I found.

  1. Ensure a suitable older llvm version is installed. The latest that ghc accepts currently is 15.
brew install llvm@15
  1. Set the CXX env var:
export CXX=/opt/homebrew/opt/llvm@15/bin/clang++
ghcup install ghc 9.8.4  # works

simonmichael avatar Dec 09 '24 19:12 simonmichael