@hsyl20 and me have been working to get GHCup up to speed wrt cross compilers and GHC JS 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 lates...
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.