<div>Hi!</div><div> </div><div>Just now I wrote a linker for KolibriOS. It's based on lld-link so it only works with COFF inputs. But my development environment is Linux. Is there any way to ask clang to generate COFF objects?</div><div> </div><div>Or, maybe, it may be compiled with some cmake flags to make it generate COFFs instead of ELFs?</div><div> </div><div>Currently I have to use MinGW to test the linker, but I gonna port clang, not MinGW, so it's better if clang could generate COFFs. Or I have to implement both ELF and COFF objects handling in the linker.</div><div> </div><div>Thanks,</div><div>Magomed</div>