<div dir="ltr">You will need to find a way to get a Windows SDK and CRT onto your Mac box.  Probably the "proper" way to do this is install them both on a physical Windows machine (or VM), and then manually copy them over to your mac partition.<div><br></div><div>After you have this, take a look at llvm/cmake/platforms/WinMsvc.cmake.</div><div><br></div><div>The instructions are a bit confusing, but should be complete.  If there's a specific step in that file that you're confused about, let me know which one.</div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Aug 29, 2018 at 3:03 AM Zhang via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Hi:</div><div>For reasons I need to build LLVM Windows on my macOS host if possible. I've learnt that lld current supports COFF linking and the online guide provided clang commands for doing so. I'd like to know the correct way to do this since the guide I've found seems a little bit confusing</div><div><br></div><div><br></div><div>Zhang</div><div><u></u><u></u></div>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">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>
</blockquote></div>