3 ms·
Why do you need link.exe? Why don’t you use LLVM’s linker?
by jfkebwjsbx 6y ago
Why do you need link.exe? Why don’t you use LLVM’s linker?
- steveklabnik 6y agoIt’s sort of definitional, the MSVC target uses the MSVC linker by default. Some platforms, like wasm, do use lld by default, and you can override the linker if you choose. MSVC is the default because it’s the platform default, just as the Linux targets default to glibc rather than MUSL, for example.
- jfkebwjsbx 6y agoOne can argue that using the default linker is a good choice, and that is a good argument, but I don’t see how that is definitional. Btw, wasn’t Chrome and others switching soon to LLD?
- steveklabnik 6y agoI mean “The MSVC target uses the MSVC linker so that’s why you need the MSCV linker.” Yes, they are. Not sure how that’s relevant, though.