logo       

RE: Hello world fails on Win32: msg#00049

lang.haskell.glasgow.bugs

Subject: RE: Hello world fails on Win32

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@xxxxxxxxxxx
[mailto:glasgow-haskell-bugs-
| bounces@xxxxxxxxxxx] On Behalf Of Gour
| Sent: 31 December 2003 10:11
| To: glasgow-haskell-bugs
| Subject: Re: Hello world fails on Win32
|
| Derek Elkins (ddarius@xxxxxxxxxx) 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@xxxxxxxxxxxx
| Registered Linux User #278493
|
| _______________________________________________
| Glasgow-haskell-bugs mailing list
| Glasgow-haskell-bugs@xxxxxxxxxxx
| http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


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

News | FAQ | advertise