#2743: GHC 6.10.1 Win32 release is unusable (on XP SP3)
-------------------------+--------------------------------------------------
Reporter: guest | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.10.1
Severity: blocker | Resolution:
Keywords: | Testcase:
Architecture: x86 | Os: Windows
-------------------------+--------------------------------------------------
Comment (by NeilMitchell):
The PATH thing has a patch, is a known issue, so that seems to be
eliminated.
The issue with runghc is that "runghc" with no arguments takes the file
from stdin. i.e. type "runghc" then type "main = print 1" enter, then hit
Ctrl+Z and enter. That will print the number 1 to the screen. This isn't
how most Windows programs behave, and trying "runghc --help" has exactly
the same behaviour (i.e. an apparent hang) so its not very helpful.
There is a bug on my 6.9 thing that hitting Ctrl+C does not abort runghc
while typing in a script, and that is a bug, if it is the same with 6.10.
So I guess the runghc should respond more helpfully to --help, and should
abort on Ctrl+C. Should it also print some help text for windows users
with stdin bound to the prompt? Seems a bit of a horrid special case, but
might help.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2743#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs