Hello world fails on Win32
Gour
gour at mail.inet.hr
Wed Dec 31 12:58:03 EST 2003
Simon Peyton-Jones (simonpj at microsoft.com) 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 at mail.inet.hr
Registered Linux User #278493
More information about the Glasgow-haskell-bugs
mailing list