[LLVMdev] Build Error on MIPS + workaround

Michael Steil mist at c64.org
Mon Oct 26 01:54:33 PDT 2009


LLVM 2.6 does not build on (at least my) MIPS, because "mips" is  
#defined by the existing toolchain, but LLVM tries to use it as a  
symbol. This works around it:

CPPFLAGS=-Umips make

The problem is in llvm/ADT/Triple.h, line 57.

   Michael



More information about the llvm-dev mailing list