Chapter 13. Running GHC on Win32 systems
Prev |  | Next

## Chapter 13. Running GHC on Win32 systems

## 13.1. Starting GHC on Windows platforms

The installer that installs GHC on Win32 also sets up the file-suffix associations for ".hs" and ".lhs" files so that double-clicking them starts ghci.

Be aware of that ghc and ghci do require filenames containing spaces to be escaped using quotes:

      c:\ghc\bin\ghci "c:\\Program Files\\Haskell\\Project.hs"

If the quotes are left off in the above command, ghci will interpret the filename as two, "c:\\Program" and "Files\\Haskell\\Project.hs".

Prev |  | Next
12.2. Writing Haskell interfaces to C code: hsc2hs | Home | 13.2. Running GHCi on Windows