On Sat, Apr 20, 2013 at 5:16 AM, <a href="mailto:endlessroad1991@gmail.com">endlessroad1991@gmail.com</a> <span dir="ltr"><<a href="mailto:endlessroad1991@gmail.com" target="_blank">endlessroad1991@gmail.com</a>></span> wrote:<br>

<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I want to propose "improving windows support" as a GSoC project. By "windows support", I mean using msvc headers & linker, not the mingw version.<br>


<div>Last time I checked(clang 3.2 release), clang can't produce executable files on Windows because of some linker error. So what's the current status and what's the major problem here?</div></div></blockquote>

<div><br></div><div>Awesome.</div><div><br></div><div>When was the last time you tested that? Clang should be able to produce executable files, it has support for MS's linker (link.exe) in the driver.</div><div> </div>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>- Win32/64 ABI, including name mangling, calling convention, etc? <a href="http://llvm.org/bugs/show_bug.cgi?id=12477" target="_blank">http://llvm.org/bugs/show_bug.cgi?id=12477</a></div>

</div></blockquote><div><br></div><div>A lot of work has been done on this area lately and it's much better than it was on 3.2. </div><div>64-bit name mangling (<a href="http://llvm.org/bugs/show_bug.cgi?id=13792">http://llvm.org/bugs/show_bug.cgi?id=13792</a>) still needs some work. There are also some bugs to fix related to lambdas, but they seem relatively easy to fix.</div>

<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">
<div>- PE/COFF object file generation?</div></div></blockquote><div><br></div><div>What kind of improvements do you have in mind? AFAIK 64-bit EH is big gap in support here right now.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr"><div>- Frontend compatibility with MSVC C++ headers? <a href="http://llvm.org/bugs/show_bug.cgi?id=13707" target="_blank">http://llvm.org/bugs/show_bug.cgi?id=13707</a></div><div>
I see quite some issues about windows, but it seems that their priority is not very high. So I think may jump in and try to sweep them.</div></div></blockquote><div><br></div><div>Yeah, intrinsics are the main blocker at the moment to get most of the broken headers going through. Also, 2012 library needs some relies on some quirks in preprocessor behavior that needs to be better supported.</div>

<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>So what do you think?</div></div></blockquote><div><br></div><div>I think you've already proven you can work on Clang and MS frontend stuff with your patches so I'd really love to see you work on improving support even more.</div>

</div><div><br></div>[CC'ing people working on MS/Windows stuff, they might have more ideas]<br clear="all"><div><br></div>-- <br>Joćo Matos