[LLVMdev] Problem with compiling the runtime libary

yafan zhao yafan.zhao at gmail.com
Sat Apr 23 23:12:59 PDT 2011

Hi Nick

Thanks for you reply.
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?

I managed to compile the run time library on a mac machine.


On Fri, Apr 22, 2011 at 5:04 PM, Nick Lewycky <nicholas at mxc.ca> wrote:

> yafan zhao wrote:
>> Hi All
>> Thanks for all replies regarding to my GCC problem.
>> I am trying to do profiling now and need to  generate "profile_rt.so"
>> file. I compiled the runtime library using MAKE and tried on both
>> Windows and Mac, but the compiling can not be done properly. I got the
>> following error message:
>> ------------------------------
>> make: Entering directory `C:/llvm/runtime'
>> ../Makefile.config.in:59 <http://makefile.config.in:59/> <
>> http://Makefile.config.in:59 <http://makefile.config.in:59/>>: ***
>> Projects
>> must define PROJ_SRC_ROOT.  Stop.
>> make: Leaving directory `C:/llvm/runtime'
>> -----------------------------
>> How to fix these errors? Is these any other way to compile the runtime
>> library and generate "profile_rt.so" file?
> It looks like llvm/runtime is missing CMakeFile.txt's, and probably just
> can't be built when using cmake.
> 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.
> Nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110424/6056483f/attachment.html>

More information about the llvm-dev mailing list