<div dir="ltr">This feature request has raised a few times since last year, and a few patches were proposed, but no progress has been made so far. So we don't know the answer. As the maintainer of the COFF support of LLD, I'm not against supporting MinGW, but the proposed patches looked a bit too intrusive to me, so they were not merged. If there's anyone who's interested in supporting MinGW, I'm happy to help.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 29, 2016 at 8:33 AM, Otto Tronarp 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"><div dir="ltr"><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">Hi,</div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><br></div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">I couldn’t find a lld specific list so I hope this is the correct place for lld questions.</div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><br></div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">I would like to build a llvm/clang/libcxx based toolchain for Windows using the MinGW runtime. Since the MinGW runtime kind of expects to be built by gcc I figured the easiest way forward would be to use lld in ld mode. However, it seems that lld cannot produce windows executables while working in “ld mode”. </div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">lld -flavor gnu -m i386pe</div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">error: unsupported emulation 'i386pe’.</div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><br></div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">Is support for i386pe in ld mode something that is on the road map for lld or should I just give up this route?</div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><br></div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">In general I would very much appreciate if anyone has any pointers for how to build a llvm/clang/libxx toolchain for Windows using MinGW runtime (the end goal being to have a toolchain free from GNU tools and without the dependency on Visual Studio).</div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><br></div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">Cheers,</div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">Otto</div></div>
<br>_______________________________________________<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/mailman/listinfo/llvm-dev</a><br>
<br></blockquote></div><br></div>