[LLVMdev] cross-compilation

Chris Lattner sabre at nondot.org
Thu Aug 28 17:25:02 PDT 2003


On 28 Aug 2003, David Crowe wrote:

> LLVM,
> Is it possible to cross compile on an x86 platform to a sparc binary?

I think that all of the LLVM tools work in cross compilation
configurations.  The only questionable one is the C/C++ frontend, which
you would have to rebuild for yourself.  LLC and the C backend can
generate sparc output on X86 with no problem.  The JIT obviously will not
work.  :)

-Chris

-- 
http://llvm.cs.uiuc.edu/
http://www.nondot.org/~sabre/Projects/




More information about the llvm-dev mailing list