aboutsummaryrefslogtreecommitdiff
path: root/doc/cpsc.1.md
diff options
context:
space:
mode:
author_ov4 <ov4@ov4.org>2026-10-14 11:39:46 +0000
committer_ov4 <ov4@ov4.org>2026-10-14 11:39:46 +0000
commitdc86a4c2bf6a87c06cd5a1f32bd69fdb0a20781a (patch)
treec75ad2da1fdcd9383a8e1c7c183f06ec9549395c /doc/cpsc.1.md
parent7beb5fe687431ecc6b5e79379284cbaa898f3776 (diff)
docs(toolchain): clarify MINGW64 LLVM and Clang 23 setup
Select the MINGW64 compiler executables with explicit Windows paths and add version checks for installed Clang and downloaded LLVM packages. Document Windows PATH requirements and platform-specific C++ driver names. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Diffstat (limited to 'doc/cpsc.1.md')
-rw-r--r--doc/cpsc.1.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/cpsc.1.md b/doc/cpsc.1.md
index 362d48b..063e2c1 100644
--- a/doc/cpsc.1.md
+++ b/doc/cpsc.1.md
@@ -66,11 +66,11 @@ Save IR and run it:
cpsc test.cps -r -o result.ir
```
-Build a native program with a C++ linker so the exception runtime is linked:
+Build a native program with Clang 23's C++ driver so the exception runtime is linked. Use `clang++` from the LLVM 23 installation; Debian/Ubuntu also provides the versioned name `clang++-23`. MSYS2 MINGW64 and Homebrew use the unversioned name.
```sh
cpsc test.cps -o test.ll
-clang++-23 test.ll -o test
+clang++ test.ll -o test
./test
```