[LLVMdev] Current status of MIPS support (some basic questions)

Eli Friedman eli.friedman at gmail.com
Mon Jul 27 09:32:13 PDT 2009


On Mon, Jul 27, 2009 at 8:56 AM, Carter Cheng<carter_cheng at yahoo.com> wrote:
> Is there also an option to compile w/ clang on an x86 for Mipsel?

A normal build of clang includes limited cross-compile support by
passing in the "-ccc-host-triple" option, although it's still a bit of
a work-in-progress.  Nobody has added support for any Mips targets,
but it's really easy to patch clang/lib/Basic/Targets.cpp to add a new
target.  Please continue any discussion of this on cfe-dev.

-Eli



More information about the llvm-dev mailing list