<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
span.EmailStyle18
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle19
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor="white" lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Thanks for the info. I somehow missed the mention of experimental windows support on the BuildingLibcxx page.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Are there any efforts to support things like Cygwin? Or is clang-cl targeting Win32 and x64 desktops the extent of things now?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Also, many thanks to EricWF for getting a Windows buildbot up!<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> Shoaib Meenai [mailto:smeenai@fb.com] <br>
<b>Sent:</b> Wednesday, April 19, 2017 3:58 PM<br>
<b>To:</b> Ben Craig <ben.craig@ni.com>; via cfe-dev <cfe-dev@lists.llvm.org><br>
<b>Cc:</b> Saleem Abdulrasool <compnerd@compnerd.org>; Eric Fiselier <eric@efcs.ca><br>
<b>Subject:</b> Re: [cfe-dev] [libcxx] What degree of Windows and/or MSVC support is already present?<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">compnerd (CC'd) did the initial work to port libc++ to Windows (including adding support for native Windows threading). EricWF (also CC'd) continued that work, particularly around tests and vcruntime support. I've done some fix-ups here
and there.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Last I checked, libc++ on Windows x86 compiled successfully with clang-cl, and only failed around 200 tests (out of over 5000). There's documentation for building and running tests on Windows at
<a href="http://libcxx.llvm.org/docs/BuildingLibcxx.html#experimental-support-for-windows">
http://libcxx.llvm.org/docs/BuildingLibcxx.html#experimental-support-for-windows</a>. I was maintaining a Google Doc tracking the test failures at
<a href="https://docs.google.com/spreadsheets/d/1Yonp8WidaIBb9mmzy6aV92wbjBYEargyrlIYc75r3Gk/edit#gid=0">
https://docs.google.com/spreadsheets/d/1Yonp8WidaIBb9mmzy6aV92wbjBYEargyrlIYc75r3Gk/edit#gid=0</a>, though it's probably fairly out of date now. EricWF also set up an appveyor bot at
<a href="https://ci.appveyor.com/project/EricWF/libcxx">https://ci.appveyor.com/project/EricWF/libcxx</a>.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">One known issue is a lack of locale support (<a href="https://bugs.llvm.org/show_bug.cgi?id=31516">https://bugs.llvm.org/show_bug.cgi?id=31516</a>). I'll be working more on addressing that (and the remaining test failures) over the next
couple of months.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">cl support hasn't been an explicit goal for any of us yet. It would definitely be nice to have though, and I'm aware of the work you've been doing on that front.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="color:black">From: </span></b><span style="color:black">cfe-dev <</span><a href="mailto:cfe-dev-bounces@lists.llvm.org">cfe-dev-bounces@lists.llvm.org</a><span style="color:black">> on behalf of cfe-dev <</span><a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a><span style="color:black">><br>
<b>Reply-To: </b>Ben Craig <</span><a href="mailto:ben.craig@ni.com">ben.craig@ni.com</a><span style="color:black">><br>
<b>Date: </b>Wednesday, April 19, 2017 at 1:33 PM<br>
<b>To: </b>cfe-dev <</span><a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a><span style="color:black">><br>
<b>Subject: </b>[cfe-dev] [libcxx] What degree of Windows and/or MSVC support is already present?</span><span style="font-size:12.0pt;color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif"><o:p> </o:p></span></p>
</div>
<p class="MsoNormal">I’ve seen some commits (largely from smeenai) that deal with Microsoft technologies. I’m curious as to what is currently supported, and what is in progress, as it is relevant to my aspirations of Windows kernel support with MSVC 2017.<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Is any Microsoft platform as a target supported from any compiler? Is any Microsoft compiler supported?<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">I know the tests have had substantial fixes and restructuring in order to be used by the Microsoft libraries team (STL et al). If libcxx itself has some configuration that works though, I’d like to know how to set it up so that I don’t
break it.<o:p></o:p></p>
</div>
</div>
</body>
</html>