Can't seem to figure how to compile

John Vogel jpvogel1 at
Sun Oct 21 15:56:41 EDT 2007

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 <mdanish at> wrote:
> 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:
> -- OpenPGP public key: C24B6010 on
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the Glasgow-haskell-users mailing list