<div dir="ltr">Hi WangLei,<div><br></div><div>Do you mean that the version 3.9 is LLVM project 3.9 and 3.5 is CMake 3.5?</div><div><br></div><div>In the guide[GetStarted.rst], the tutorial says before running CMake command, you must checkout all the source code.  CMake does not pickup newly added source directories in incremental builds.</div><div><br></div><div>Have you cross-compiled the LLVM/Clang for ARM, or other successfully?</div><div><br></div><div>Cheers,</div><div>Liyang </div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-05-03 14:42 GMT+08:00 王磊 via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>Hi.<div>I'm trying to use Clang/LLVM as a cross-compiling toolchain. In previous version of LLVM with the old configure/Makefile building system, I'm able to build Clang/LLVM for target architecture with the host GCC firstly and then use the generated cross compiler to compile the compiler-rt project, and, consequently, I can get a cross compiler as well as the compiler-rt library. However, when I move to version 3.9 which abandoned configure/Makefile and uses CMake now, it always compile the compiler-rt simultaneously with the host GCC. The same problem is also existing in 3.5 CMake building system. It seems that in the CMake building system compiler-rt is not dependent on the generated toolchain. I also tried to compile the compiler-rt after Clang/LLVM has been built, and there is another problem that the generated Clang/LLVM cannot pass the CMake checking without compiler-rt, which is obvious... So is there any way that I can solve this problem. Thank you.</div><div><br></div><div>Lei Wang</div><div><br><br><span></span><div><div><span></span><a title="发音"></a><u></u><u></u><div><a title="加入单词表"></a><a title="移出单词表"></a><a href="#m_-2483977491504695984_" title="查看单词详细释义"></a><a title="关闭查询窗"></a></div><br style="clear:both"></div><div></div></div></div><br><br><br><br>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
<br></blockquote></div><br></div>