search for: livllvmlto

Displaying 1 result from an estimated 1 matches for "livllvmlto".

Did you mean: libllvmlto
2017 Apr 09
5
Statically linking against libc++
While considering statically linking against libc++ (and other runtime libraries from LLVM), I rebuilt LLVM 4.0 with -DBUILD_SHARED_LIBS=OFF. There are still some .so's in llvm/lib, and only one of them seems to exist exclusively as a DSO (libLTO). There's also livLLVMLTO.a, but I doubt LTO is used after linking a binary so this just looks odd to an uninformed LLVM outside and not insufficient or anything. My question is two-fold: 1. when building a C++ program with clang, maybe making use of clang-musl to avoid glibc as well, how do I statically link libc++ and g...