[project @ 1997-09-19 15:16:01 by simonm]
[ghc-hetmet.git] / docs / installing.lit
index 60675c6..d5770a1 100644 (file)
@@ -702,6 +702,10 @@ Unlikely.}
 This is a quite-a-bit-better-than-Lex lexer.  Used in the
 literate-programming stuff.  You won't need it unless you're hacking
 on some of our more obscure stuff.
+On our machines, the version in @/bin@ doesn't work; you need the
+GNU version.  Find out by saying @flex --version@ (our current version
+is 2.5.3, but maybe earlier ones will work).  If it doesn't know about
+the @--version@ flag, it ain't the right @flex@.
 
 \item[Yacc:]
 \index{pre-supposed: non-worthless Yacc}
@@ -937,18 +941,18 @@ want to change.  (The override occurs because the main boilerplate file,
 
 For example, @config.mk.in@ contains the definition:
 \begin{verbatim}
-  ProjectsToBuild = glafp-utils literate ghc hslibs
+  ProjectsToBuild = glafp-utils literate happy ghc hslibs
 \end{verbatim}
 The accompanying comment explains that this is the list of enabled
 projects; that is, if (after configuring) you type @gmake all@
 in @FPTOOLS_TOP@ three specified projects will be made.
-If you want to add @happy@, you can add this line to @build.mk@:
+If you want to add @green-card@, you can add this line to @build.mk@:
 \begin{verbatim}
-  ProjectsToBuild += happy
+  ProjectsToBuild += green-card
 \end{verbatim}
 or, if you prefer,
 \begin{verbatim}
-  ProjectsToBuild = glafp-utils literate ghc hslibs happy
+  ProjectsToBuild = glafp-utils literate happy ghc hslibs green-card
 \end{verbatim}
 (GNU @make@ allows existing definitions to have new text appended using
 the ``@+=@'' operator, which is quite a convenient feature.)
@@ -1644,7 +1648,7 @@ shell of your choice).
 
 The best way around it is to say
 \begin{verbatim}
-  TMPDIR=<dir>
+export TMPDIR=<dir>
 \end{verbatim}
 in your @build.mk@ file.
 Then GHC and the other @fptools@ programs will use the appropriate directory