<div class="gmail_quote">On Mon, Jun 11, 2012 at 7:04 AM, Anton Korobeynikov <span dir="ltr"><<a href="mailto:anton@korobeynikov.info" target="_blank">anton@korobeynikov.info</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello<br>
<br>
First of all, note the "llvm" in the mailing list title. Clang<br>
questions should be asked in other ML.<br></blockquote><div><br></div><div>(Cross-posting to cfe-dev)</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im"><br>
> 3. Run cmake and let it figure out that its using Clang on Windows.<br>
> 4. Build and realize that the link doesn't work because CMake pulls in the<br>
> wrong libraries (per default it uses Microsoft naming conventions: foo.lib<br>
> instead of libfoo.a).<br>
</div>It seems like you're not targeting mingw32, but MS toolchains. Stuff<br>
won't work smooth here and major WIP.<br>
Everything else below can be ignored.<br></blockquote><div><br></div><div>I don't think that's the issue here. CMake happily tries to link with the mingw libs, but as pointed out in that CMake ML post, the CMake scripts do not know how to pass GCC-style flags to Clang on Windows. Mikael, can you post the link line that CMake generates (make VERBOSE=1), preferably to just cfe-dev?</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class="HOEnZb"><font color="#888888"><br>
--<br>
With best regards, Anton Korobeynikov<br>
Faculty of Mathematics and Mechanics, Saint Petersburg State University<br>
_______________________________________________<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>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><br><div>Thanks,</div><div><br></div><div>Justin Holewinski</div><br>