hello world fails to run on windows

Meurig Sage meurig at dcs.gla.ac.uk
Mon Jan 22 13:04:21 EST 2001


Hi
I installed ghc-4.08.1 earlier today on a Windows NT box. I tried out hello world. I compiled with:

ghc -O -static -o main Main.hs

Compilation went fine. But when I tried to run the program it produced no output. I then experimented further. I got TclHaskell up & running and successfully got it to produce a simple user interface. However, if I put in a call to putStr into the code the program exits prematurely. 

I'm running Windows NT, with cygwin v1.1 installed today. 

Meurig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/glasgow-haskell-bugs/attachments/20010122/7eaba29e/attachment.htm


More information about the Glasgow-haskell-bugs mailing list