Can't seem to figure how to compile

John Vogel jpvogel1 at
Sun Oct 21 14:46:16 EDT 2007

Running ghc 6.6.1
On Windows Vista

I get this error when I run: ghc Main.hs

gcc: installation problem, cannot exec `as': No such file or directory

On this code:

module Main where

main = do
  putStrLn "Please enter your name: "
  name <- getLine
  putStrLn ("Hello, " ++ name ++ ", how are you?")

What is my problem?
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the Glasgow-haskell-users mailing list