こちらになります。
[ Info ] downloading: as file /Users/(name)/.ghcup/cache/ghcup-0.0.8.yaml
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 386k 100 386k 0 0 1146k 0 --:--:-- --:--:-- --:--:-- 1173k
[ Info ] Upgrading GHCup...
[ Info ] downloading: as file /Users/(name)/.ghcup/tmp/ghcup-e0f08df322f91a51/ghcup
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 27.6M 100 27.6M 0 0 7385k 0 0:00:03 0:00:03 --:--:-- 7398k
[ Info ] verifying digest of: ghcup
[ Warn ] ghcup is not in PATH! You have to add it in order to use ghcup.
[ Info ] Successfully upgraded GHCup to version 0.1.22.0
System requirements
Note: On OS X, in the course of running ghcup you will be given a dialog box to install the command line tools. Accept and the requirements will be installed for you. You will then need to run the command again.
On Darwin M1 you might also need a working llvm installed (e.g. via brew) and have the toolchain exposed in PATH.
Press ENTER to proceed or ctrl-c to abort.
Installation may take a while.
[ Info ] verifying digest of: ghc-9.4.8-x86_64-apple-darwin.tar.xz
[ Info ] Unpacking: ghc-9.4.8-x86_64-apple-darwin.tar.xz to /Users/(name)/.ghcup/tmp/ghcup-7b2cdc1259bcfd78
[ Info ] Installing GHC (this may take a while)
[ ghc-configure ] checking whether ld64 requires -no_fixup_chains... yes
[ ghc-configure ] checking whether ld64 requires -no_fixup_chains... yes
[ ghc-configure ] checking C++ standard library flavour... libstdc++
[ ghc-configure ] checking for linkage against 'stdc++'... failed
[ ghc-configure ] checking for linkage against 'stdc++ supc++'... failed
[ ghc-configure ] configure: error: Failed to find C++ standard library
[ Error ] [GHCup-00841] Process "sh" with arguments ["./configure",
[ ... ] "--prefix=/Users/(name)/.ghcup/ghc/9.4.8",
[ ... ] "--disable-ld-override"] failed with exit code 1.
[ Error ] Also check the logs in /Users/(name)/.ghcup/logs
"ghcup --metadata-fetching-mode=Strict --cache install ghc recommended" failed!
よろしくお願いします。