You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: llvm/README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ The IR is written to **stdout**, so it can be redirected into a `.ll` file and t
14
14
## Prerequisites
15
15
16
16
* The **semantic analyzer** must be built first (LLVM IR generation depends on its AST).
17
-
***LLVM 14**or later (tested with LLVM 14).
17
+
***LLVM 14** (tested with the default package on Debian 12. Later LLVM versions introduce header and function name changes that can cause incompatibility).
18
18
***clang** (for assembling IR and linking the runtime library).
19
19
***make**, **flex**, **bison**, and a C++17 compiler.
20
20
@@ -147,7 +147,7 @@ The script:
147
147
148
148
## Tips & Troubleshooting
149
149
150
-
* Ensure **LLVM 14+** and **clang** are installed and available in `$PATH`.
150
+
* Ensure **LLVM 14** and **clang** are installed and available in `$PATH`.
151
151
* The runtime library `libdanart.a` must be present in the same directory or linked with `-L` and `-l` options.
152
152
* If the `libdanart.a` is deleted you can restore it by running
153
153
```
@@ -157,4 +157,4 @@ The script:
157
157
* If compilation fails with `target triple` issues, verify that your LLVM and clang versions match your system architecture.
158
158
* IR is printed to **stdout** (using `danac`) — don’t forget to redirect (`>`) to capture it in a file.
0 commit comments