Re: Dumb Windows Question
> How do I actually use ghc in Windows (98)? When I installed Hugs, my .hs > files got associated with Hugs and if I left-click on a .hs file I have > various options to run with. We don't do this with GHC. > So do I open a DOS box and invoke ghc or ghci? If so how, what do I have > to change to get the path to point to ghc? I tried autoexec.bat but this > seemed to have no effect. You have to set PATH as usual (I presume that is in autoexec.bat on Windows '98). > Also, how do I tell ghci where to find packages? I suspect this problem has more to do with the bug in ghci.exe (see the fixed version posted by Sigbjorn; I'll be uploading a fixed InstallShield as soon as I can fix one or two other serious problems) than any error in your command line, which looks fine. -- http://sc3d.org/rrt/ | violence, n. bravery for cowards ___ Glasgow-haskell-users mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Re: Dumb Windows Question
From: "Steinitz, Dominic J" <[EMAIL PROTECTED]> Sender: [EMAIL PROTECTED] Date: 15 Oct 2001 08:47:47 Z [...] Also, how do I tell ghci where to find packages? C:\Program Files\Glasgow Haskell Compiler\ghc-5.02\bin>ghci -package lang C:\PROGRA~1\GLASGO~1\GHC-5.02\BIN\GHC.EXE: no input files Usage: For basic information, try the `--help' option. [...] Packages seem to be a problem on some windows system with ghci 5.02. At least I could not load them on NT (got the same message as you), but it works well on my windows 2000 installation. Sven Eric -- __ Sven Eric Panitz Uhlandstr. 12 D-64297 Darmstadt Software AG [EMAIL PROTECTED] (+49)6151-92-1426 --- when I cannot sing my heart, I can only speak my mind --- ___ Glasgow-haskell-users mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Dumb Windows Question
How do I actually use ghc in Windows (98)? When I installed Hugs, my .hs files got associated with Hugs and if I left-click on a .hs file I have various options to run with. So do I open a DOS box and invoke ghc or ghci? If so how, what do I have to change to get the path to point to ghc? I tried autoexec.bat but this seemed to have no effect. Also, how do I tell ghci where to find packages? C:\Program Files\Glasgow Haskell Compiler\ghc-5.02\bin>ghci -package lang C:\PROGRA~1\GLASGO~1\GHC-5.02\BIN\GHC.EXE: no input files Usage: For basic information, try the `--help' option. I did look through the documentation. If I missed the relevant sections, perhaps someone could point me at them. Many thanks, Dominic. - To receive our special fares directly by email, register at http://www.britishairways.com/registration ___ Glasgow-haskell-users mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users