logo       

Re: Hello world fails on Win32: msg#00041

lang.haskell.glasgow.bugs

Subject: Re: Hello world fails on Win32

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?

Sincerely,
Gour

--
Gour
gour@xxxxxxxxxxxx
Registered Linux User #278493


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

News | FAQ | advertise