Francesco Pasa

How to Link Object Files Manually with lld

Today, I want to show you how to link an object file produces with any compiled language into an executable using the LLVM linker lld. I will limit myself to a unix operating system and linking using the musl C standard library. Steps for other systems will be similar. ...