[LLVMdev] Building dragonegg.so failed

Duncan Sands baldrick at free.fr
Thu Jan 6 09:18:55 PST 2011


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
>




More information about the llvm-dev mailing list