[LLVMdev] llvmc: Can't find program 'llvm-g++'
anton at korobeynikov.info
Sat Oct 29 15:20:53 PDT 2011
> I am getting this error while using the command "llvmc -O3 -Wall hello.cpp"
> where hello.cpp is some cpp file on my machine. llvmc is the driver calling
> a bunch of tools like llvm-g++, opt, llc etc. I think the llvmc tool could
> not probably locate the llvm-g++ tool. I would like to know where should I
> specify the path to llvm-g++ for llvmc to find them.
iirc llvmc looked inside PATH
> Also can someone give
> me the link to some tutorial on llvmc because i couldn't find it on llvm.org
Yes, llvmc was removed from mainline.
> My llvmc is in /llvm/tools/llvmc. While llvm-g++ is inside /llvm/Debug/bin/.
Ok, then you should add /llvm/Debug/bin to your PATH
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University
More information about the llvm-dev