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. Also can someone give me the link to some tutorial on llvmc because i couldn't find it on llvm.orgwebpage. My llvmc is in /llvm/tools/llvmc. While llvm-g++ is inside /llvm/Debug/bin/. -- Thanks, *HIMANSHU SHEKHAR* -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20111029/ccb0ab0a/attachment.html>
Hi Himanshu Shekhar, I don't know the answer to your question, I'm just writing to point out that llvmc has been removed from the development version of LLVM. Ciao, Duncan.> 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. Also can someone give me the link > to some tutorial on llvmc because i couldn't find it on llvm.org > <http://llvm.org> webpage. My llvmc is in /llvm/tools/llvmc. While llvm-g++ is > inside /llvm/Debug/bin/. > > -- > Thanks, > *HIMANSHU SHEKHAR* > > > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Hello> 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 > webpage.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