From: simonpj Date: Wed, 5 May 2004 14:10:07 +0000 (+0000) Subject: [project @ 2004-05-05 14:10:07 by simonpj] X-Git-Tag: Initial_conversion_from_CVS_complete~1873 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=22b80b96a37771eda86f17e4d6afab2451d0f950 [project @ 2004-05-05 14:10:07 by simonpj] More about windows --- diff --git a/docs/building/building.sgml b/docs/building/building.sgml index 169a13e..0e2b254 100644 --- a/docs/building/building.sgml +++ b/docs/building/building.sgml @@ -4538,7 +4538,7 @@ You don't need Cygwin or MSYS to use GHC, but you do need one or the other to build GHC. -Installing and configuring MSYS +Installing and configuring MSYS MSYS is a lightweight alternative to Cygwin. @@ -4611,6 +4611,12 @@ before the MSYS one, because it's in the system P environment variable, whereas you have probably modified the user PATH variable. You can always invoke find with an absolute path, or rename it. + + +MSYS comes with bzip, and MSYS's tar's -j +will bunzip an archive (e.g. tar xvjf foo.tar.bz2). Useful when you get a +bzip'd dump. + @@ -4721,11 +4727,8 @@ they don't recognise symlinks. -Win32 has a find command which is not the same as Cygwin's find. -You will probably discover that the Win32 find appears in your PATH -before the Cygwin one, because it's in the system PATH -environment variable, whereas you have probably modified the user PATH -variable. You can always invoke find with an absolute path, or rename it. +See the notes in about find and bzip, +which apply to Cygwin too. @@ -4824,14 +4827,23 @@ you need to add upon completion. Install an executable Happy, from http://www.haskell.org/happy. -Happy is a parser generator used to compile the Haskell grammar. Add it in your +Happy is a parser generator used to compile the Haskell grammar. Under MSYS or Cygwin you can easily +build it from the source distribution using + + ./configure + make + make install + +This should install it in /usr/local/bin (which maps to c:/msys/1.0/local/bin +on MSYS). +Make sure the installation directory is in your PATH. Install Alex. This can be done by building from the - source distribution in the usual way. Sources are + source distribution in the same way as Happy. Sources are available from http://www.haskell.org/alex.