logo       

Re: Hello world fails on Win32: msg#00040

lang.haskell.glasgow.bugs

Subject: Re: Hello world fails on Win32

On Sun, 28 Dec 2003 21:25:00 +0100
Gour <gour@xxxxxxxxxxxx> wrote:

> Hi!
>
> Pls. excuse me for cross-posting - I did not realize that this list is
> more appropriate for the problem for which I posted a message on
> users' list.
>
> After having problem in building ghc-6.2 from source tarball, I
> installed ghc-6-2-1.msi build and then tried to compile darcs with it,
> but, strangely enough, configure script fails when trying to compile
> "Hello world!" program.

I've been using the GHC 6.2 binary on Win2k with no issues.

> I tried to compile:
>
> bash-2.05b# cat main.hs
> module Main(main) where
>
> main = putStrLn "Hello world!\n"

Are you sure it's not producing an a.out. You didn't give the
commandline you used to invoke the compiler. You can use -o to
explicitly name the executable file.


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise