From 455a8da72d0340c1e9b9c6c946ca2aba7c78e59a Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Tue, 29 May 2007 15:28:48 +0000 Subject: [PATCH] Update Windows installation docs --- docs/users_guide/installing.xml | 64 ++++++++++++++------------------------- 1 file changed, 23 insertions(+), 41 deletions(-) diff --git a/docs/users_guide/installing.xml b/docs/users_guide/installing.xml index 6e6a56e..71113ee 100644 --- a/docs/users_guide/installing.xml +++ b/docs/users_guide/installing.xml @@ -533,7 +533,7 @@ on... Getting the Glasgow Haskell Compiler (post 5.02) to run on Windows platforms is -a snap: the Installshield does everything you need. +a snap: the installer does everything you need. Installing GHC on Windows @@ -542,38 +542,29 @@ a snap: the Installshield does everything you need. To install GHC, use the following steps: -Download the Installshield setup.exe -from the GHC download page +Download the installer +from the haskell.org. +url="http://www.haskell.org/ghc/download.html">GHC download page. -Run setup.exe. +Run the installer. On Windows, all of GHC's files are installed in a single directory. -If you choose ``Custom'' from the list of install options, you will be given a -choice about where this directory is; otherwise it will be installed -in c:/ghc/ghc-version. -The executable binary for GHC will be installed in the bin/ sub-directory -of the installation directory you choose. - -(If you have already installed the same version of GHC, Installshield will offer to "modify", -or "remove" GHC. Choose "remove"; then run setup.exe a -second time. This time it should offer to install.) +You can override it, but by default this directory is +c:/ghc/ghc-version. +The executable binary for GHC will be installed in the +bin/ sub-directory of the installation directory. +If you want to invoke GHC from a command line, add this +to your PATH environment variable. -When installation is complete, you should find GHCi and the GHC documentation are -available in your Start menu under "Start/Programs/Glasgow Haskell Compiler". +When installation is complete, you should find GHCi and the GHC +documentation are available in your Start menu under +"Start/All Programs/GHC/ghc-version". -The final dialogue box from the install process reminds you where the GHC binary -has been installed (usually c:/ghc/ghc-version/bin/. -If you want to invoke GHC from a command line, add this -to your PATH environment variable. - - - GHC needs a directory in which to create, and later delete, temporary files. It uses the standard Windows procedure GetTempPath() to find a suitable directory. This procedure returns: @@ -608,7 +599,7 @@ bash$ ghc -o main main.hs .. bash$ ./main Hello, world! -bash$ +bash$ @@ -617,7 +608,7 @@ You do not need the Cygwin toolchain, or anything else, to install and run GHC. -An installation of GHC requires about 140M of disk space. +An installation of GHC requires about 340M of disk space. To run GHC comfortably, your machine should have at least 64M of memory. @@ -625,10 +616,11 @@ To run GHC comfortably, your machine should have at least Moving GHC around -At the moment, GHC installs in a fixed place (c:/ghc/ghc-x.yy, -but once it is installed, you can freely move the entire GHC tree just by copying -the ghc-x.yy directory. (You may need to fix up -the links in "Start/Programs/Glasgow Haskell Compiler" if you do this.) +Once GHC is installed, you can freely move the entire GHC tree just by copying +the c:/ghc/ghc-version +directory. (You will need to fix up +the links in "Start/All Programs/GHC/ghc-version" +if you do this.) It is OK to put GHC tree in a directory whose path involves spaces. However, @@ -647,7 +639,8 @@ put GHC in a place with a space-free path. I'm having trouble with symlinks. - Symlinks only work under Cygwin (), so binaries not linked to the Cygwin + Symlinks only work under Cygwin (), + so binaries not linked to the Cygwin DLL, in particular those built for Mingwin, will not work with symlinks. @@ -665,17 +658,6 @@ put GHC in a place with a space-free path. - - -- 1.7.10.4