[LLVMdev] LLVM for crosscompiling?

Chris Lattner sabre at nondot.org
Mon Apr 14 11:12:52 PDT 2008


On Mon, 14 Apr 2008, Sunjae Park wrote:
> Hm.. so the C backend works differently if I configure LLVM to be a cross
> compiler?

Yes, it generates output matching the target triple stored in the .bc 
file.

> Regarding building LLVM as a cross compiler, I assume it should be pretty much
> identical to building gcc as a cross compiler? (sans adding the LLVM_OBJ
> directory when configuring).

Yep

-Chris

-- 
http://nondot.org/sabre/
http://llvm.org/



More information about the llvm-dev mailing list