<div dir="ltr"><br><div>> Indeed. Unless libc++.so is actually a linker script, though I don't believe libc++ does that.</div><div>Ok. I'll try to symlink the way you mentioned previously and will try again.</div><div><br></div><div>Meanwhile, I've tried to <a href="https://libcxx.llvm.org/BuildingLibcxx.html#bootstrapping-build">build and install</a> along with " -DLLVM_ENABLE_PROJECTS="clang;llvm", but still when I type clang and/or opt in terminal I get "-bash: opt: command not found"</div><div><br></div><div>cmake -G Ninja -S llvm -B build -DLLVM_ENABLE_PROJECTS="clang;llvm" -DLLVM_ENABLE_RUNTIMES="libcxx;libcxxabi" -DLLVM_PARALLEL_LINK_JOBS=1 -DCMAKE_BUILD_TYPE=Release<br></div><div><br></div><div>Is "opt" a dir or library? </div><div><br></div><div>Thanks!</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 14 Dec 2021 at 22:56, Raul Tambre <<a href="mailto:raul@tambre.ee">raul@tambre.ee</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> > I think one symlink is missing i.e. from to libc++.so --> libc++.so.1.0<br>
<br>
Indeed. Unless libc++.so is actually a linker script, though I don't believe <br>
libc++ does that.<br>
<br>
 > It's not clear what would be the path of LLVM_BINPATH?<br>
<br>
Wherever your opt is located.<br>
</blockquote></div>