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
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
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/
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
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
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?"