[GHC] #8792: Mac OS X does not supply lllvm i.e. opt and llc
GHC
ghc-devs at haskell.org
Mon Feb 17 01:22:57 UTC 2014
#8792: Mac OS X does not supply lllvm i.e. opt and llc
-------------------------------------+-------------------------------------
Reporter: George | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 7.8.1
Component: Documentation | Version: 7.8.1-rc1
Resolution: | Keywords:
Operating System: MacOS X | Architecture: Unknown/Multiple
Type of failure: Documentation | Difficulty: Easy (less than 1
bug | hour)
Test Case: | Blocked By:
Blocking: | Related Tickets:
-------------------------------------+-------------------------------------
Comment (by carter):
{{{
You must install and have LLVM available on your PATH for the LLVM code
generator to work. Specifically GHC needs to be able to call the optand
llc tools. Secondly, if you are running Mac OS X with LLVM 3.0 or greater
then you also need the Clang c compiler compiler available on your PATH.
Clang and LLVM are both included with OS X by default from 10.6 onwards.
To install LLVM and Clang:
Linux: Use your package management tool.
Mac OS X: LLVM and Clang are included by default from 10.6 and later. For
10.5 you should install the Homebrew package manager for OS X.
Alternatively you can download binaries for LLVM and Clang from here.
Windows: You should download binaries for LLVM and clang from here.
}}}
from http://www.haskell.org/ghc/docs/7.8.1-rc1/html/users_guide/code-
generators.html#llvm-code-gen
ok, so the issue is that the direction for OS X are wrong.
It was hard to parse you ticket :)
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8792#comment:8>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list