I have been using LLVM to support my own language compiler on windows exclusively for some time now. I can link using either MinGW or MSVC though I haven't got into exception handling. I keep my LLVM up to date with trunk and have not had any problems. I generally use clang compiled test projects linked against MinGW for seeing how various details of the build process should work. <br>
<br><div class="gmail_quote">On Wed, May 23, 2012 at 10:07 PM, Albert Graef <span dir="ltr"><<a href="mailto:Dr.Graef@t-online.de" target="_blank">Dr.Graef@t-online.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 05/24/2012 03:37 AM, Michael Spencer wrote:<br>
> LLVM already supports Windows quite well. The issue is clang and the<br>
> MS C++ ABI. If you are writing your own language that does not need to<br>
> interact with the C++ ABI then everything will be fine.<br>
<br>
</div>I can confirm this. Even if you do need to interface to C/C++, clang<br>
works fine for that as long as you stick to the mingw libraries instead<br>
of msvc. There are already a number of full-blown LLVM-based language<br>
projects by 3rd parties you can take a look at, see<br>
<a href="http://llvm.org/releases/3.1/docs/ReleaseNotes.html#externalproj" target="_blank">http://llvm.org/releases/3.1/docs/ReleaseNotes.html#externalproj</a>.<br>
<br>
Speaking about my own project (<a href="http://pure-lang.googlecode.com/" target="_blank">http://pure-lang.googlecode.com/</a>), we've<br>
had that up and running on Linux, *BSD, OS X and Windows at least since<br>
the days of LLVM 2.5, using first llvm-gcc and then clang as an<br>
LLVM-capable C/C++ compiler for inlining C/C++ in Pure. I vaguely recall<br>
some issues with clang 3.0 on Windows due to hardcoded paths. But clang<br>
2.9 has been working great on Windows for me and other Pure users,<br>
hopefully 3.1 will be the same.<br>
<span class="HOEnZb"><font color="#888888"><br>
Albert<br>
<br>
--<br>
Dr. Albert Gr"af<br>
Dept. of Music-Informatics, University of Mainz, Germany<br>
Email:  <a href="mailto:Dr.Graef@t-online.de">Dr.Graef@t-online.de</a>, <a href="mailto:ag@muwiinfa.geschichte.uni-mainz.de">ag@muwiinfa.geschichte.uni-mainz.de</a><br>
WWW:    <a href="http://www.musikinformatik.uni-mainz.de/ag" target="_blank">http://www.musikinformatik.uni-mainz.de/ag</a><br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">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/mailman/listinfo/llvmdev</a><br>
</div></div></blockquote></div><br>