<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Compiling for MSVC (Windows) and Clang"
   href="https://llvm.org/bugs/show_bug.cgi?id=23573">23573</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Compiling for MSVC (Windows) and Clang
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>3.6
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows NT
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>C++
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>aaron.adato@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>dgregor@apple.com, llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Can you please help me with compiling for msvc (2013) using clang (3.6) on
Windows 7.0

I am using the following command, but unsuccessful (perhaps it's the '$'):
<span class="quote">>set CPATH=c:\PROGRA~2\MICROS~3.0\VC\include</span >

<span class="quote">>b2 \</span >
toolset=clang \
link=static \
runtime-link=static \
--build-type=complete \
--abbreviate-paths \
architecture=x86 \
address-model=32 \
cxxflags="-std=c++11 -nostdinc++ -isystem $/c:/PROGRA~2/MICROS~3.0/VC/include
-stdlib=libc++" \
linkflags="-stdlib=c++ -L$/c:/PROGRA~2/MICROS~3.0/VC/lib" \
--prefix=$/c:/clang \
-j8 \
define=BOOST_SYSTEM_NO_DEPRECATED \
stage \
release \
install</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>