[llvm-dev] lld: add build-time control for including ELF / COFF / Mach-O linkers?

Rui Ueyama via llvm-dev llvm-dev at lists.llvm.org
Mon Sep 12 13:23:31 PDT 2016


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?

On Mon, Sep 12, 2016 at 1:19 PM, Ed Maste via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

> We're in the process of importing lld into FreeBSD (along with our
> Clang 3.9 update project). For now I've removed all but the ELF
> linker[1]. We have no need for COFF and Mach-O, and we have a bespoke
> build system for all of our contrib code. I didn't bother adding build
> support for the source files for non-ELF linkers.
>
> Is this something that'd be reasonable / desirable to have extended
> and implemented upstream, in the CMake build and perhaps a bit of an
> #ifdef mess in tools/lld/lld.cpp::main()?
>
> [1] https://svnweb.freebsd.org/changeset/base/305070
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160912/6647a5e3/attachment.html>


More information about the llvm-dev mailing list