Page 1 of 1

Multiboot linking with LLD

Posted: Thu Aug 06, 2020 7:16 pm
by ch515
Hi,

I am new to the forum, and I am interested in compiling and linking a multiboot binary with LLVM/clang. The wiki clearly documents how to do this with a GNU compiler and linker, and I think that compiling would be about the same since clang is mostly compatible with gcc. What do you think would be the best way to link the multiboot binary with lld?

Thank you

Re: Multiboot linking with LLD

Posted: Fri Aug 07, 2020 6:14 pm
by Octocontrabass
Pass "-fuse-ld=lld" to Clang.