<div dir="ltr"><div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">This might be offtopic for llvmdev. I suggest the mailing list, cfe-users.<br></blockquote>
<br></div>Thanks for the direction! I'll ping them as well.<br><div><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
How did you build it? clang.exe depends on crt libraries, either<br>

mingw32 or msvcrt.<br></blockquote><div><br></div><div>I didn't build it. I installed clang with the snapshot installer for Windows: <a href="http://llvm.org/builds/">http://llvm.org/builds/</a><br></div><div><a href="http://llvm.org/builds/"></a><br>
</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

Please try (and watch their output);<br>
<br>
> clang --version<br>
> clang -v -O2 -o hello.exe hello.c<br></blockquote><div><br>I'm using clang version 3.4 (trunk), from LLVM 3.4.svn.<br><br></div><div>I'm away from my Windows computer for now, but I'll try to get the full outputs later.<br>
</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Please confirm;<br>
<br>
  - Which library did you install? Visual studio or mingw?<br>
  - Where is its path?<br></blockquote><div><br></div><div>As I did not build clang myself, but used the snapshot installer, I don't know for sure.<br><br>I can tell you that I do not currently have any Visual Studio product installed.<br>
<br></div><div>I do have a form of cygwin installed (<a href="http://git-scm.com/">Git</a> Bash for Windows), and also <a href="http://chocolatey.org/packages?q=StrawberryPerl">StrawberryPerl</a>. Either of these could include some C libs, though I doubt clang.exe was built to integrate with them in mind.<br>
<br></div></div>-- <br><div></div>Cheers,<div><br></div><div>Andrew Pennebaker</div><div><a href="http://www.yellosoft.us" target="_blank">www.yellosoft.us</a></div>
</div></div></div>