Skip to content
This repository was archived by the owner on Aug 27, 2024. It is now read-only.

Commit 8ebcfd0

Browse files
fewensanuke-web3
andauthored
Update windows-users.md (#1083)
* Update windows-users.md Update install LLVM on windows * Apply suggestions from code review Co-authored-by: Dan Shields <[email protected]>
1 parent 7239219 commit 8ebcfd0

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

docs/knowledgebase/getting-started/windows-users.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,16 @@ If you do decide to try and use a Windows computer to _natively_ build Substrate
4343
rustup target add wasm32-unknown-unknown --toolchain nightly
4444
```
4545

46-
4. Install LLVM: https://releases.llvm.org/download.html
46+
4. Install LLVM
47+
48+
The `llvm-config` binary is required by substrate. but `llvm-config` does not exist in windows prebuilt binaries.
49+
You need to compile from the source code to get it. you can read these documents to build llvm on windows.
50+
51+
- [Where is llvm-config in Windows?](https://stackoverflow.com/questions/17096804/where-is-llvm-config-in-windows)
52+
- [How to build LLVM, libclang, and liblld from source](https://github.com/ziglang/zig/wiki/How-to-build-LLVM,-libclang,-and-liblld-from-source#windows)
53+
54+
Or you can directly use the [prebuilt binaries](https://github.com/ziglang/zig/wiki/Building-Zig-on-Windows#option-2-using-cmake-and-microsoft-visual-studio)
55+
provided by `zig`.
4756

4857
5. Install OpenSSL with `vcpkg` using PowerShell:
4958

0 commit comments

Comments
 (0)