[GHC] #5169: LLVM backend should warn if llvm tools aren't installed

GHC cvs-ghc at haskell.org
Thu May 5 21:07:01 CEST 2011


#5169: LLVM backend should warn if llvm tools aren't installed
---------------------------------+------------------------------------------
    Reporter:  dterei            |       Owner:              
        Type:  feature request   |      Status:  new         
    Priority:  normal            |   Component:  Compiler    
     Version:  7.0.3             |    Keywords:              
    Testcase:                    |   Blockedby:              
          Os:  Unknown/Multiple  |    Blocking:              
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown
---------------------------------+------------------------------------------
 At the moment the LLVM backend just assumes that the various LLVM tools
 will be available on the command line. It never checks for this and so if
 you try to compile some code using the LLVM backend without LLVM tools
 available on the command line then it fails with:

 {{{
 cannot run: opt
 }}}

 We should print something more informative.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5169>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the Glasgow-haskell-bugs mailing list