<div dir="ltr"><div>For the MinGW-w64 system, swift-4.0-branch (up to 4.0.3-RELEASE) is merged into <a href="https://github.com/tinysun212/swift-windows/commits/swift-windows-4.0-branch">https://github.com/tinysun212/swift-windows/commits/swift-windows-4.0-branch</a> and it is successfully compiled.</div><div><br></div><div>If I make the Foundation module work to some extent, I will share the binary and submit a PR for the compiler.</div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-12-18 10:18 GMT+09:00 Eric Wing via swift-dev <span dir="ltr">&lt;<a href="mailto:swift-dev@swift.org" target="_blank">swift-dev@swift.org</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 12/14/17, Kazuki Ohara via swift-dev &lt;<a href="mailto:swift-dev@swift.org">swift-dev@swift.org</a>&gt; wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; I&#39;m interested in running Swift on Windows.<br>
&gt;<br>
&gt; I found the document to build the Swift compiler for Windows (<br>
&gt; <a href="https://github.com/apple/swift/blob/master/docs/Windows.md" rel="noreferrer" target="_blank">https://github.com/apple/<wbr>swift/blob/master/docs/<wbr>Windows.md</a>) and tried it.<br>
&gt; I managed to build it with MSVC, but the resulting compiler could not<br>
&gt; generate executables run properly.<br>
&gt; (The executables seem to crash during initializing Swift&#39;s runtime<br>
&gt; systems.)<br>
&gt;<br>
&gt; Are there someone who can build the compiler works properly on Windows with<br>
&gt; master branch or at least 4.x branches?<br>
&gt; I found <a href="https://github.com/tinysun212/swift-windows" rel="noreferrer" target="_blank">https://github.com/tinysun212/<wbr>swift-windows</a>, but this seems to be<br>
&gt; on 3.x branch.<br>
&gt;<br>
&gt; Thank you,<br>
&gt; Kazuki Ohara<br>
&gt;<br>
<br>
</div></div>Do you mind elaborating on how you got it built with MSVC? I posted<br>
like a month ago to the Swift list that I was unable to even get past<br>
building the LLVM stage due to compile errors.<br>
<br>
Thanks,<br>
Eric<br>
______________________________<wbr>_________________<br>
swift-dev mailing list<br>
<a href="mailto:swift-dev@swift.org">swift-dev@swift.org</a><br>
<a href="https://lists.swift.org/mailman/listinfo/swift-dev" rel="noreferrer" target="_blank">https://lists.swift.org/<wbr>mailman/listinfo/swift-dev</a><br>
</blockquote></div><br></div>