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,
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,
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.
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
Hi chenwj,
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?
find the llvm-config executable for LLVM-2.8. If you installed LLVM-2.8 you
can use the one that was installed. If you only built it, you can use the one
from the build. Anyway, suppose the path to the executable is PATH/llvm-config.
Then build dragonegg using:
LLVM_CONFIG=PATH/llvm-config make
Ciao, Duncan.
Hi Duncan,
Thanks. I wonder if this hint can be put on http://dragonegg.llvm.org/.
And one comment, building dragonegg.so needs a gcc built with
"--enable-lto" option. Could this also be put on the web site?
Thanks again.
Regards,
chenwj
Hi chenwj,
Thanks. I wonder if this hint can be put on http://dragonegg.llvm.org/.
And one comment, building dragonegg.so needs a gcc built with
"--enable-lto" option. Could this also be put on the web site?
I have done this. The README already contained this info.
Ciao, Duncan.