logo       

Re: Hello world fails on Win32: msg#00054

lang.haskell.glasgow.bugs

Subject: Re: Hello world fails on Win32

Simon Peyton-Jones (simonpj@xxxxxxxxxxxxx) wrote:

> There's something very mysterious going on. GHC does not depend on you
> having any particular version of gcc etc; it all comes in the bundle.
>
> Are you absolutely certain that you made no change at all to the
> installed binaries? Such as removing c:/ghc/ghc-6.2/gcc.exe?

Nope. Run installer which installed it in c:\ghc\ghc-6.2 and tried to
compile "Hello World" which fails as described before.

Uninstalled, 6.2 & installed 6.0.1 and everything works.

>
> Maybe clean out c:/ghc/ghc-6.2 and try again. I have just done so and
> ghc Main.hs -o main
> ./main
> worked just fine for me.

At the moment I am (again) trying to build GHC from the source in
MinGW/MSYS environment so I have to wait a little bit :-)

>
> I don't think GHC depends on the environment variables TEMP or TMP any
> more, as a place to store its temporary files, but I suppose it's
> possible. Are they not set, perhaps?

They are set, but has something in GHC changed in regards to it between 6.0.1
& 6.2 since 6.0.1 has compiled darcs several times without any problem in the
same environment.

Sincerely,
Gour

--
Gour
gour@xxxxxxxxxxxx
Registered Linux User #278493


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

News | FAQ | advertise