<div>Hi Nick</div>
<div> </div>
<div>Thanks for you reply.</div>
<div>CMAKE is very new to me. I complied using GNU WIN32 and got those errors. Is it possible to compile it using GNU WIN 32 and anything need to be modified?</div>
<div> </div>
<div>I managed to compile the run time library on a mac machine.</div>
<div> </div>
<div>Yafan<br><br></div>
<div class="gmail_quote">On Fri, Apr 22, 2011 at 5:04 PM, Nick Lewycky <span dir="ltr"><<a href="mailto:nicholas@mxc.ca">nicholas@mxc.ca</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">yafan zhao wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div class="im">Hi All<br>Thanks for all replies regarding to my GCC problem.<br>I am trying to do profiling now and need to  generate "profile_rt.so"<br>file. I compiled the runtime library using MAKE and tried on both<br>
Windows and Mac, but the compiling can not be done properly. I got the<br>following error message:<br>------------------------------<br>make: Entering directory `C:/llvm/runtime'<br></div>../<a href="http://makefile.config.in:59/" target="_blank">Makefile.config.in:59</a> <<a href="http://makefile.config.in:59/" target="_blank">http://Makefile.config.in:59</a>>: *** Projects 
<div class="im"><br>must define PROJ_SRC_ROOT.  Stop.<br>make: Leaving directory `C:/llvm/runtime'<br>-----------------------------<br>How to fix these errors? Is these any other way to compile the runtime<br>library and generate "profile_rt.so" file?<br>
</div></blockquote><br>It looks like llvm/runtime is missing CMakeFile.txt's, and probably just can't be built when using cmake.<br><br>Do you know cmake well enough to write them? If so, please try it and send us a patch, otherwise I'll get to it eventually.<br>
<font color="#888888"><br>Nick<br></font></blockquote></div><br>