llvm-msvc
                                
                                 llvm-msvc copied to clipboard
                                
                                    llvm-msvc copied to clipboard
                            
                            
                            
                        How to use msvc-link when linking?
With the clang command
shortcut link.exe to msvc linker instead of using the installed linker which is llvm linker.
shortcut link.exe to msvc linker instead of using the installed linker which is llvm linker.
can you name the command used at compile time? I tried /clang:-fuse-ld=link . and more
lld-link must be used together in the future, so there are no plans to provide an option to use link.exe. A simple method is to rename link.exe to lld-link.exe. then replace.
Regarding other libs compiled by MSVC. I recommend you to turn off /GL
https://learn.microsoft.com/en-us/answers/questions/733176/how-to-link-progs-with-msvcs-link-exe-instead-of-l
