Please pardon the top posting (mobile devices make this hard).<div><br></div><div>This should work for x86 targets theoretically.  There is an outstanding patch that I need to tweak for windows support via make and clang.  It uses the MSVC environment for the x86 targets and the Itanium environment for ARM (due to assembly).</div><div><br></div><div>Creating a custom VS solution should allow you to do this I believe.<span></span><br><br>On Monday, September 22, 2014, Tony Kelman <<a href="mailto:kelman@berkeley.edu">kelman@berkeley.edu</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I’m trying to figure out how to build compiler-rt 3.5.0 with Visual Studio 2013. In an autotools build or cmake on Linux, I believe putting the compiler-rt sources under llvm/projects is enough to build them automatically. Do I need to do anything specific to get the same with MSVC? I've tried setting -DLLVM_BUILD_EXTERNAL_<u></u>COMPILER_RT either ON or OFF, but can't find any evidence of compiler-rt getting built. If I build compiler-rt separately, pointing it to an installed LLVM build with -DLLVM_CONFIG_PATH, the only thing that ends up in the install result is the sanitizer headers. Should this be working, or is it still under construction? When I tried with LLVM 3.3 I was getting a bunch of syntax errors from MSVC in compiler-rt, so presumably it wasn't yet MSVC-compatible at that time. Has the MSVC build just been disabled somewhere to avoid this?<br>
<br>
Thanks,<br>
Tony<br>
<br>
______________________________<u></u>_________________<br>
LLVM Developers mailing list<br>
<a>LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/<u></u>mailman/listinfo/llvmdev</a><br>
</blockquote></div><br><br>-- <br>Saleem Abdulrasool<br>compnerd (at) compnerd (dot) org<br>