<div dir="ltr"><div>1. If you are on Windows you have to make your own build files.  You can't cross-compile using the CMake build system, but you can with the make build system on Linux.</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 28, 2015 at 12:16 PM, Solra Bizna <span dir="ltr"><<a href="mailto:solra@bizna.name" target="_blank">solra@bizna.name</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm developing something for an ARMv7-A system in big-endian mode. I'm<br>
trying to use clang as the compiler for it. Things have been going<br>
well so far, but I've hit a point where the generated code is<br>
depending on functions which are implemented in compiler-rt. Since I'm<br>
doing the building on an amd64 machine, the compiler-rt that I have<br>
only targets x86/amd64. So, I have three overlapping questions:<br>
<br>
1. How do I build a compiler-rt for my target processor?<br>
<br>
2. Since my target processor supports the hardware divide<br>
instructions, what specific steps do I need to take to ensure that<br>
compiler-rt will use them? (Same applies for several other instruction<br>
set extensions.)<br>
<br>
3. Since (again) my target processor supports the hardware divide<br>
instructions, is there a way to get LLVM's code generator to use them<br>
directly instead of calling the EABI division functions? (Same applies<br>
for several other instruction set extensions.)<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>
</blockquote></div><br></div>