Can't seem to figure how to compile

John Vogel jpvogel1 at gmail.com
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...
URL: http://www.haskell.org/pipermail/glasgow-haskell-users/attachments/20071021/c27072a4/attachment-0001.htm


More information about the Glasgow-haskell-users mailing list