Hello world fails on Win32

Simon Peyton-Jones simonpj at microsoft.com
Wed Dec 31 11:33:26 EST 2003


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?  

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.

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?

Simon

| -----Original Message-----
| From: glasgow-haskell-bugs-bounces at haskell.org
[mailto:glasgow-haskell-bugs-
| bounces at haskell.org] On Behalf Of Gour
| Sent: 31 December 2003 10:11
| To: glasgow-haskell-bugs
| Subject: Re: Hello world fails on Win32
| 
| Derek Elkins (ddarius at hotpop.com) wrote:
| 
| > It looks like it's saying that it couldn't find the gcc that should
be
| > at c:\ghc\ghc-6.2
| 
| I was searching a little bit in the lists' archives and found the
following
| message:
| 
|
http://haskell.org/pipermail/glasgow-haskell-users/2003-October/005822.h
tml
| 
| 
| which exactly describes the problem.
| 
| Something is broken in 6.2 win32 build since 6.0.1 works in the same
| environment (MinGW/MSYS) and produces main.exe.
| 
| I don't know why the MinGW/MSYS is not supported since it provides
easy
| configure ; make ; make install mechanism.
| 
| I've found few messages in the archives describing some quirks in an
attempt
| to build ghc from the source with MinGW.
| 
| So, I downgraded to 6.0.1 and will try to build one of the latest 6.3
| snapshots.
| 
| Sincerely,
| Gour
| 
| --
| Gour
| gour at mail.inet.hr
| Registered Linux User #278493
| 
| _______________________________________________
| Glasgow-haskell-bugs mailing list
| Glasgow-haskell-bugs at haskell.org
| http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


More information about the Glasgow-haskell-bugs mailing list