From b6246734e48a1992079db3fa5e4b1580344fe47d Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Sun, 12 Nov 2023 18:47:54 +0800 Subject: [PATCH] Givee cross bindists it's own doc section --- docs/guide.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/guide.md b/docs/guide.md index 85a8a1d..e591358 100644 --- a/docs/guide.md +++ b/docs/guide.md @@ -432,7 +432,7 @@ ghcup compile hls --git-ref master --git-describe-version --ghc 8.10.7 --ghc 9.2 This however will create a new HLS version in ghcup, e.g. `1.7.0.0-105-gdc682ba1`, for both 8.10.7 and 9.2.4. If you want to switch back to the official bindists, run `ghcup set hls 1.7.0.0`. -### Cross support +## Cross support ghcup can compile a cross GHC for any target. However, this requires that the build host has a complete cross toolchain and various @@ -452,7 +452,7 @@ ghcup config add-release-channel https://raw.githubusercontent.com/haskell/ghcup The next sections explain how to install each cross bindist. -#### GHC JS cross bindists +### GHC JS cross bindists You need the required emscripten JS toolchain: @@ -482,7 +482,7 @@ javascript-unknown-ghcjs-ghc -fforce-recomp hello.hs You can follow the instructions [here](https://gitlab.haskell.org/ghc/ghc/-/wikis/javascript-backend/building#compiling-hello-world). -#### GHC WASM cross bindists +### GHC WASM cross bindists You need the required wasm toolchain: