Hi, all I am trying to build gcc 4.5 with dragonegg plugin. After building patched gcc 4.5, I try to build dragonegg.so but failed. Here is the error messgae, ----------------------------------------------------------------------- $ GCC=/tmp/chenwj/install/bin/gcc make Compiling utils/target.cpp /tmp/chenwj/dragonegg-2.8/utils/target.cpp: In function 'int main(int, char**)': /tmp/chenwj/dragonegg-2.8/utils/target.cpp:39: error: 'normalize' is not a member of 'llvm::Triple' make: *** [target.o] Error 1 ----------------------------------------------------------------------- How can I fix it? Thanks! Regards, chenwj -- Wei-Ren Chen (陳韋任) Parallel Processing Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667
Hi chenwj,> I am trying to build gcc 4.5 with dragonegg plugin. After building > patched gcc 4.5, I try to build dragonegg.so but failed.you need to build dragonegg-2.8 against LLVM-2.8. Ciao, Duncan.> > Here is the error messgae, > > ----------------------------------------------------------------------- > $ GCC=/tmp/chenwj/install/bin/gcc make > Compiling utils/target.cpp > /tmp/chenwj/dragonegg-2.8/utils/target.cpp: In function 'int main(int, > char**)': > /tmp/chenwj/dragonegg-2.8/utils/target.cpp:39: error: 'normalize' is not > a member of 'llvm::Triple' > make: *** [target.o] Error 1 > ----------------------------------------------------------------------- > > How can I fix it? Thanks! > > Regards, > chenwj >
Hi, Duncan> you need to build dragonegg-2.8 against LLVM-2.8.I did build LLVM-2.8, however it's not system-wide. I wonder if it is because it cannot find the path to my LLVM-2.8 direcotry. If so, how can I tell him? Thanks! Regards, chenwj -- Wei-Ren Chen (陳韋任) Parallel Processing Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667
Apparently Analagous Threads
- [LLVMdev] Building dragonegg.so failed
- [LLVMdev] Building dragonegg.so failed
- [LLVMdev] Does DragonEgg support parameters like -fno-builtin in clang?
- [LLVMdev] Does DragonEgg support parameters like -fno-builtin in clang?
- [LLVMdev] Does DragonEgg support parameters like -fno-builtin in clang?