Hi,

Two months ago there has been a discussion started by Gour with the
subject "Hello world fails on Win32". I just upgraded to ghc 6.2 (on
win98), and experienced the same problem. I don't have a clue what is
wrong, but I did find out that the failing command does not fail when
entered manually. So, quoting Gour's last message:

> c:\ghc\ghc-6.2\gcc.exe -B"C:\GHC\GHC-6.2\gcc-lib\/" -I. -I. -c
c:\tmp\ghc-522475.s -o main.o
>
> Failed: c:\ghc\ghc-6.2\gcc.exe -B"C:\GHC\GHC-6.2\gcc-lib\/" -I. -I. -c
c:\tmp\ghc-522475.s -o main.orawSystem: does not exist (No such file or
directory)
> *** Deleting temp files
> Deleting: c:/tmp/ghc-522475.s

I get a similar error. But when I run ghc with the option -keep-tmp-files,
and then after this error manually enter the exact same command, in this
case:

c:\ghc\ghc-6.2\gcc.exe -B"C:\GHC\GHC-6.2\gcc-lib\/" -I. -I. -c
c:\tmp\ghc-522475.s -o main.o

then it does work. After that, another error occures when gcc is called by
the linker, which can be worked around analoguously.

I don't know whether this problem has been solved yet during the past two
months, but maybe this helps...

Maarten L�ffler

_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to