logo       

Re: Hello world fails on Win32: msg#00042

lang.haskell.glasgow.bugs

Subject: Re: Hello world fails on Win32

On Tue, 30 Dec 2003 08:08:18 +0100
Gour <gour@xxxxxxxxxxxx> wrote:

> Derek Elkins (ddarius@xxxxxxxxxx) wrote:
>
> > 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.
>
> ghc -o main main.hs
>
> which produces main.hi & main.o, but no linking and executable
> main.exe.
>
> The same line, produces executable on Linux.
>
> I noticed this problem when trying to compile darcs and saw that its
> configure script fails when trying to compile "Hello world" test
> program.
>
> Any idea?

Add -v and see what's going on, make sure everything seems right.


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

News | FAQ | advertise