Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : ghc-7.2

http://hackage.haskell.org/trac/ghc/changeset/a35274d37b5de861dc26d0fa7382460a8d3a9534

>---------------------------------------------------------------

commit a35274d37b5de861dc26d0fa7382460a8d3a9534
Author: David Terei <[email protected]>
Date:   Wed Jun 29 00:40:53 2011 -0700

    Warn if LLVM tools aren't installed (#5169)

>---------------------------------------------------------------

 compiler/main/SysTools.lhs |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/compiler/main/SysTools.lhs b/compiler/main/SysTools.lhs
index 7768b4f..cf91fb9 100644
--- a/compiler/main/SysTools.lhs
+++ b/compiler/main/SysTools.lhs
@@ -455,7 +455,9 @@ figureLlvmVersion dflags = do
              return $ Just v
             )
             (\err -> do
-                putMsg dflags $ text $ "Warning: " ++ show err
+                putMsg dflags $ text $ "Error (" ++ show err ++ ")"
+                putMsg dflags $ text "Warning: Couldn't figure out LLVM 
version!"
+                putMsg dflags $ text "Make sure you have installed LLVM"
                 return Nothing)
   return ver
   



_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to