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
Multiboot linking with LLD
-
- Member
- Posts: 5572
- Joined: Mon Mar 25, 2013 7:01 pm
Re: Multiboot linking with LLD
Pass "-fuse-ld=lld" to Clang.