<div class="gmail_quote">On Thu, May 31, 2012 at 1:44 AM, MortenMacFly <span dir="ltr"><<a href="mailto:mac-fly@gmx.net" target="_blank">mac-fly@gmx.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Windows7, Cmake 2.8.8, MinGW 4.6.1. compiler:<br>
<br>
I got two questions seeking for help:<br>
<br>
1.) I am trying to compile LLVM/Clang from trunk using the instructions from<br>
the LLVM homepage which works fine except that the llvm-config tool is not<br>
being built. When I do a "make" in the "tools\llvm-config" folder it fails,<br>
too with:<br>
../../Makefile.common:60: ../../Makefile.config: No such file or directory<br>
../../Makefile.common:68: /Makefile.rules: No such file or directory<br>
mingw32-make.exe: *** No rule to make target `/Makefile.rules'.  Stop.<br>
Those files are there, so I am a bit lost. Is there a configuration switch I<br>
am missing to build this tool? I searched through the Cmake options, but I<br>
could not find any.<br></blockquote><div><br></div><div>The llvm-config tool is not built on Windows, since it requires sed which is not available by default on Windows.  I actually have a patch for this somewhere (build llvm-config on Windows if sed is found), I'll try to find it and post it.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
2.) Can I actually compile Windows resource files (*.rc) with Clang? What<br>
would I need to if my project requires a Windows resource file and I want to<br>
compile it using Clang? Linking against a MinGW/windres compiled resource?<br></blockquote><div><br></div><div>As far as I know, MinGW's windres or the Windows SDK's rc.exe is required.  But this is not my area of expertise...</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Any help is greatly appreciated.<br>
<span class="HOEnZb"><font color="#888888">--<br>
View this message in context: <a href="http://old.nabble.com/LLVM-Clang-SVN%3A-2-Questions-tp33936868p33936868.html" target="_blank">http://old.nabble.com/LLVM-Clang-SVN%3A-2-Questions-tp33936868p33936868.html</a><br>
Sent from the LLVM - Dev mailing list archive at Nabble.com.<br>
<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>