<div dir="ltr">What's the motivation to not build COFF and Mach-O parts? If you don't need it, you could just leave it. Are you trying to reduce the executable size?<div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 12, 2016 at 1:19 PM, Ed Maste via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">We're in the process of importing lld into FreeBSD (along with our<br>
Clang 3.9 update project). For now I've removed all but the ELF<br>
linker[1]. We have no need for COFF and Mach-O, and we have a bespoke<br>
build system for all of our contrib code. I didn't bother adding build<br>
support for the source files for non-ELF linkers.<br>
<br>
Is this something that'd be reasonable / desirable to have extended<br>
and implemented upstream, in the CMake build and perhaps a bit of an<br>
#ifdef mess in tools/lld/lld.cpp::main()?<br>
<br>
[1] <a href="https://svnweb.freebsd.org/changeset/base/305070" rel="noreferrer" target="_blank">https://svnweb.freebsd.org/<wbr>changeset/base/305070</a><br>
______________________________<wbr>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-dev</a><br>
</blockquote></div><br></div></div>