[libcxx-dev] Problem installing libcxx and libcxxabi using Bootstrapping on Amazon Linux 2

Raul Tambre via libcxx-dev libcxx-dev at lists.llvm.org
Tue Dec 14 00:59:06 PST 2021


 > # ls /usr/local/lib/x86_64-unknown-linux | grep -i libc++.so.1.0

I presume the symlinks from libc++.so to libc++.so.1 to libc++.so.1.0 also exist?

 > I can try with opt. Can you provide some reference on building opt on Linux?

It's part of LLVM so it should suffice to add "llvm" to LLVM_ENABLE_PROJECTS.

 > To override LLVM_BINPATH, do I need to install llvm-config and then override 
something like  "LLVM_BINPATH=$LLVM_CONFIG --bindir" ?

It's unclear to me how plv8 sets LLVM_BINPATH and whether providing it as an 
environment variable would suffice.
You could simply hardcode the path here 
(<https://github.com/plv8/plv8/blob/821f1638934e3f0ad4c979de442d6cb74f1e32e9/Makefile.shared#L119>).


More information about the libcxx-dev mailing list