r/Compilers • • Aug 08 '26

Switching std c++ lib in LLVM stack

Hello.

I have problem with clang compiler with linker pass... I don't know what Clang flags use to switch between static and dynamic linking for Libs like libc++ linuwind compiler-rt... Linker links them dynamically and I do not want that... Maybe you have some tips for that... I wanted to use libc++ stack instead of GCC libstdc++ ... But for LLVM Libs you should linke them statically...

1 Upvotes

7 comments sorted by