[LLVMdev] lli supports different targets than llc?

Renato Golin renato.golin at linaro.org
Fri Jul 24 06:45:18 PDT 2015


On 24 July 2015 at 13:26, Débora Setton Sanches <setton.debora at gmail.com> wrote:
> But I am running it on the host, as a kind of intermediate step in the
> cross-compilation, just to check if everything still works after the
> frontend step. Shouldn't it work then?

If the IR was platform independent, and you could run the IR on any
platform, then this could work. But it isn't.

Your best bet is to use llc + ld + qemu user emulation. You'll also
need multiarch support for the libraries, tools, etc.

cheers,
--renato




More information about the llvm-dev mailing list