Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 4ec1a49

Browse files
josteinkjkotas
authored andcommitted
Provide guidance for common build-failure scenario. (#6164)
1 parent 3ec09b8 commit 4ec1a49

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Documentation/building/freebsd-instructions.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,14 @@ janhenke@freebsd-frankfurt:~/git/coreclr % ./build.sh
6767

6868
Note: FreeBSD 10.1-RELEASE system's Clang/LLVM is 3.4, the minimum version to compile CoreCLR runtime is 3.5. See [Note on Clang/LLVM versions](#note-on-clangllvm-versions).
6969

70+
If the build fails with errors about resolving LLVM-components, the default Clang-version assumed (3.5) may not be appropriate for your system.
71+
Override it using the following syntax. In this example LLVM 3.6 is used:
72+
73+
```sh
74+
janhenke@freebsd-frankfurt:~/git/coreclr % ./build.sh clang3.6
75+
```
76+
77+
7078
After the build is completed, there should some files placed in `bin/Product/FreeBSD.x64.Debug`. The ones we are interested in are:
7179

7280
* `corerun`: The command line host. This program loads and starts the CoreCLR runtime and passes the managed program you want to run to it.

0 commit comments

Comments
 (0)