[LLVMdev] Building dragonegg.so failed

Duncan Sands baldrick at free.fr
Thu Jan 6 23:44:38 PST 2011


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.



More information about the llvm-dev mailing list