<div dir="ltr">My limited experience with clang on Windows thus far is that for most purposes it is no longer necessary to use mingw. The linked page that mentions it, does so specifically in the context of ABI compatibility, i.e. some of your code is compiled with clang, some with another compiler using at least moderately exotic C++ features and there is a need to link them together. Does your project require that, or is it possible to do things another way e.g. compile everything with clang?<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 3, 2015 at 10:16 AM, Joshua Gerrard via cfe-dev <span dir="ltr"><<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div dir="ltr"><div dir="ltr"><p>Hey folks, apologies for the rather noobish email...</p><p>I'd love to get into clang (and maybe llvm?) development, as some of my projects use it as a "black box" that I'd "unbox" that, to make it easier to debug if nothing else. At the moment, the project I'm working on works great on Mac OS X, but fails miserably for unknown reasons on Windows.</p><p>I took a read of <a href="http://clang.llvm.org/docs/MSVCCompatibility.html" target="_blank">http://clang.llvm.org/docs/MSVCCompatibility.html</a> and it recommended using mingw32 instead of MSVC where possible, but this would mean porting the (very large) project over so that it works on mingw32, which would take a large but doable amount of time.<br></p><p>My question is, if I spend the time to get everything working on mingw32, is clang in a state to "mostly work" on Window after that (assuming my application code isn't doing anything stupid)? To be a little more specific, clang is being linked against to compile C++ code that is later run (i.e. it's not for static analysis). If mingw32 isn't in such a state, is the MSVC version? The link I posted above gives me some information about this, and I'm OK with only compiling for 64 bit (as the exception comments mention that 64 bit exceptions are in a decent state), but I don't know anything beyond what's in that article.</p><p>Thank you very much for any help in advance!</p><p>Regards,</p><p>Joshua</p></div></div></div></div>
</div>
<br>_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a><br>
<br></blockquote></div><br></div>