Re: Can't seem to figure how to compile

2007-10-23 Thread John Vogel
Yup, that fixed the problem. Thanks for your help. :) On 10/22/07, Simon Marlow <[EMAIL PROTECTED]> wrote: > > John Vogel wrote: > > 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 di

Re: Can't seem to figure how to compile

2007-10-22 Thread Simon Marlow
John Vogel wrote: 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 This is a known problem on Vista. The GHC 6.8.1 snapshot should work for you, e.g. http://www.haskell.org/ghc/dist/stable/di

Re: Can't seem to figure how to compile

2007-10-21 Thread Tim Chevalier
On 10/21/07, John Vogel <[EMAIL PROTECTED]> wrote: > 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 > Did you follow these instructions when you installed GHC? http://hackage.haskell.org/

Re: Can't seem to figure how to compile

2007-10-21 Thread John Vogel
It is the default gcc with ghc. ghci works just fine which invokes ghc --interactive. But this command does work: ghc -e Main.main Main.hs But there is no executable. On 10/21/07, Matthew Danish <[EMAIL PROTECTED]> wrote: > > On Sun, Oct 21, 2007 at 01:46:16PM -0500, John Vogel wrote: > > gcc

Re: Can't seem to figure how to compile

2007-10-21 Thread Matthew Danish
On Sun, Oct 21, 2007 at 01:46:16PM -0500, John Vogel wrote: > gcc: installation problem, cannot exec `as': No such file or directory `as' is the assembler that gcc uses. Check your gcc. Can you even compile C programs successfully? -- -- Matthew Danish -- user: mrd domain: cmu.edu -- OpenPGP p

Can't seem to figure how to compile

2007-10-21 Thread John Vogel
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?"