Can't seem to figure how to compile

John Vogel jpvogel1 at gmail.com
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 andrew.cmu.edu> 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: cmu.edu
> -- OpenPGP public key: C24B6010 on keyring.debian.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/glasgow-haskell-users/attachments/20071021/e0828d04/attachment.htm


More information about the Glasgow-haskell-users mailing list