[cfe-dev] static linking
Miklos Vajna via cfe-dev
cfe-dev at lists.llvm.org
Thu Apr 11 00:43:41 PDT 2019
On Wed, Apr 10, 2019 at 05:53:35PM -0400, Kihong Heo via cfe-dev <cfe-dev at lists.llvm.org> wrote:
> When I run clang compiled with the default setting, an error message like “GLIBCXX_…” not found.
> Of course, it works well the same system where it was compiled. But I try to use the compiled clang in another system. That’s why I am looking for a way to statically link libraries.
Did you see if -DLLVM_BUILD_STATIC=true does what you need?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 195 bytes
Desc: Digital signature
More information about the cfe-dev