
On Sat, Jan 28, 2012 at 10:56 AM, Johan Tibell
On Sat, Jan 28, 2012 at 6:52 AM, Sanket Agrawal
wrote: The reason I am asking is I want to try LLVM backend but GHC keeps complaining about missing llvm tools (opt, llc). I checked LLVM webpage but couldn't find information about how to determine what llvm tools are installed on my Mac. My guess is XCode 4.1 comes with llvm backend for GCC, but not standalone LLVM tools that GHC needs, and that upgrading to XCode 4.2 would give me LLVM 3.0 tools as well. Please correct me if I got it wrong.
I just downloaded the LLVM binaries and put them somewhere on my PATH.
Yes, that is another possibility. I would like to keep it simple, and just upgrade to XCode 4.2, instead of installing Clang+LLVM binaries separately, if it is not an issue for GHC.