aboutsummaryrefslogtreecommitdiff
path: root/doc/cpsc.1.md
diff options
context:
space:
mode:
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
```