[LLVMdev] Build Error on MIPS + workaround
    Eric Christopher 
    echristo at apple.com
       
    Mon Oct 26 11:41:22 PDT 2009
    
    
  
On Oct 26, 2009, at 1:54 AM, Michael Steil wrote:
> 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.
Mainline has a fix for that by undefing the symbol in that file up near the top.
Thanks!
-eric
    
    
More information about the llvm-dev
mailing list