[cfe-dev] static linking

Kihong Heo via cfe-dev cfe-dev at lists.llvm.org
Wed Apr 10 14:53:35 PDT 2019


Hello,

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.

Thanks,
Kihong

> On Apr 10, 2019, at 3:29 PM, Alexey Sidorin <alexey.v.sidorin at ya.ru> wrote:
> 
> Hello Kihong,
> 
> LLVM tools and clang are linked statically by default. Do you encounter any problems with building them statically?
> 
> 
> 09.04.2019 5:36, Kihong Heo via cfe-dev пишет:
>> Hi list,
>> 
>> I try to build llvm/clang from source code. Is there a simple way to link libraries statically?
>> 
>> Thanks,
>> Kihong
>> _______________________________________________
>> cfe-dev mailing list
>> cfe-dev at lists.llvm.org
>> https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
> 
> 




More information about the cfe-dev mailing list