@hsyl20 and me have been working to get GHCup up to speed wrt cross compilers and GHCJS backend. You can read more about it here as well: IOG GHC Update #14 | IOG Engineering This is still experimental, which is why it’s a pre-release, so we can gather some user experience reports. Here’s how to install GHCJS from a bindist and run a JS hello world: 1. Install emscripten This is the required JS toolchain. git clone https://github.com/emscripten-core/emsdk.git cd emsdk ./emsdk install latest...
I thought running GHC JS output required nodejs. Does GHCup also manage that or is that an implicit requirement?
HelloJS is a wrapper that calls nodejs. Also see https://gitlab.haskell.org/ghc/ghc/-/wikis/javascript-backend/building#compiling-hello-world
GHCup doesn’t manage system dependencies.