<div dir="ltr">Hi,<div><br></div><div>I am using LLVM as the backend in a small hobby compiler project I'm working on.  I plan to support all platforms that LLVM supports (limited by my available hardware only).</div><div><br></div><div>As far as I can tell, there are different linkers for the various host systems out there (the output of 'lld' if you invoke it on Arch Linux): </div><div><br></div><div>    lld is a generic driver.<br>    Invoke ld.lld (Unix), ld64.lld (macOS), lld-link (Windows), wasm-ld (WebAssembly) instead<br></div><div><br></div><div>I am wondering if there are any plans to make a single, standard, cross-platform link tool so that people who are not locked into the Microsoft ecosystem (Visual Studio and command-line tools) can use the LLVM linker without having to maintain three driver interfaces.  If I am not mistaken, you today have to use three or four different interfaces, depending on the host platform, just to link a few files.</div><div><br></div><div>The way I see it, a single LLVM-linker with the same options and syntax on all platforms would be highly beneficial to those who use LLVM as their backend through generating .ll files as input to the LLVM tool chain.</div><div><br></div><div>P.S. I am aware that I can use Clang as a gigantic driver for the linking process, but I am trying to get rid of all Clang dependencies because it is not needed by my project in any way.</div><div><br></div><div><br></div><div>Thank you,</div><div>Mikael Egevig</div></div>