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
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
Apparently Analagous Threads
- [LLVMdev] include's are not being located
- [LLVMdev] include's are not being located
- [LLVMdev] LLVM show error preprocessor "Must #define __STDC_LIMIT_MACROS before #including Support/DataTypes.h"
- [LLVMdev] include's are not being located
- Solaris 10 Compilation Issue with 2.0.12 (actually post 12690) [WORKAROUND PROVIDED]