LLVM: how to know the place of clang and compiler-rt.
by Nobutarou from LinuxQuestions.org on (#520Q0)
Hello,
In the BLFS book, clang is placed to tools/. Compiler-rt is placed to projects/. How I can know those places. I want to know where I should place lld.
I read https://releases.llvm.org/10.0.0/doc...ldWithPGO.html, and try PGO build by the script described in the document. It seems that the script tries to build lld,
Code:Running `ninja clang lld` in /sources/llvm-10.0.0.src/out/instrumented
ninja: error: unknown target 'lld', did you mean 'llc'?Thanks,


In the BLFS book, clang is placed to tools/. Compiler-rt is placed to projects/. How I can know those places. I want to know where I should place lld.
I read https://releases.llvm.org/10.0.0/doc...ldWithPGO.html, and try PGO build by the script described in the document. It seems that the script tries to build lld,
Code:Running `ninja clang lld` in /sources/llvm-10.0.0.src/out/instrumented
ninja: error: unknown target 'lld', did you mean 'llc'?Thanks,