llvm-mingw icon indicating copy to clipboard operation
llvm-mingw copied to clipboard

Fully static C++ linking?

Open FelixBer opened this issue 7 months ago • 4 comments

Hi,

I understand these toolchains are designed to link dynamically against msvcrt / ucrt, but I am wondering what's missing for fully static C++ linking using Clang/LLVM on Windows and without any microsoft libs (libcmt, libcpmt, libvcruntime, etc.)

Since you take the startup code from mingw, shouldnt the LLVM libc be sufficient to fill in the "gap" between that and libc++? If not, what's missing?

Thanks,

FelixBer avatar Jul 10 '24 15:07 FelixBer