<div dir="ltr">I was attempting to cross compile on Windows.  I ended up having to find the list in the CMake build system (not very hard) and manually creating a makefile to compile them.  Took maybe 2 hours total.</div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Mar 29, 2015 at 1:28 PM, Chao Yan <span dir="ltr"><<a href="mailto:yanchao2012@gmail.com" target="_blank">yanchao2012@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">2015-03-29 15:11 GMT-05:00 Daniel Dilts <span dir="ltr"><<a href="mailto:diltsman@gmail.com" target="_blank">diltsman@gmail.com</a>></span>:<span><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid">I need to correct myself.  It is possible to cross compile it on Windows, but not using the provided build systems.</blockquote></span></div><br>Hi Daniel,</div><div class="gmail_extra"><br></div><div class="gmail_extra">Thanks for helping. I'm using ubuntu 14.04 x86_64 system. I've tried cmake for couple of days until I give up. You are right, using make build system seems more feasible. I've combined the compiler_rt/make/platform/<a href="http://clang_linux.mk" target="_blank">clang_linux.mk</a> and the compiler_rt/make/platform/<a href="http://clang_macho_embedded.mk" target="_blank">clang_macho_embedded.mk</a>. So far it could cross-compile all of the files in "compiler-rt/lib/builtins/" (*.c files). However, the libcompiler_rt.a still missing functions such as "__aeabi_memset", "__aeabi_memcpy". These functions were in "compiler_rt/lib/biltins/arm/" (*.S) files. They are not included in any of the *.mk files. Do you have any idea on how to add these assembly sources to the build list? BTW, did you build the complete libcompiler_rt.a at the end?</div><div class="gmail_extra"><br></div><div class="gmail_extra">Thanks,</div><div class="gmail_extra">Chao</div></div>
</blockquote></div><br></div>