summaryrefslogtreecommitdiff
path: root/docs/building
diff options
context:
space:
mode:
authorsimonpj <unknown>2003-04-14 13:36:04 +0000
committersimonpj <unknown>2003-04-14 13:36:04 +0000
commit5f1f78c91e4bddf8637eddb78c862cd1889a6005 (patch)
tree1c5b2dc65f37324aa677bae06f1b03af12afd747 /docs/building
parent8935b30a4872984cd4f3f52222812755065f3cec (diff)
downloadhaskell-5f1f78c91e4bddf8637eddb78c862cd1889a6005.tar.gz
[project @ 2003-04-14 13:36:04 by simonpj]
Guidance about tags on windows
Diffstat (limited to 'docs/building')
-rw-r--r--docs/building/building.sgml17
1 files changed, 15 insertions, 2 deletions
diff --git a/docs/building/building.sgml b/docs/building/building.sgml
index b63c1c83b3..6a0e950fff 100644
--- a/docs/building/building.sgml
+++ b/docs/building/building.sgml
@@ -4084,7 +4084,7 @@ guide) before continuing to read these notes.
</para>
-<sect2><Title>Cygwin and MinGW</Title>
+<sect2 id="cygwin-and-mingw"><Title>Cygwin and MinGW</Title>
<para> The Windows situation for building GHC is rather confusing. This section
tries to clarify, and to establish terminology.</para>
@@ -4335,7 +4335,8 @@ Happy is a parser generator used to compile the Haskell grammar. Add it in your
<listitem>
<para>GHC uses the <emphasis>mingw</emphasis> C compiler to
-generate code, so you have to install that. Just pick up a mingw bundle at
+generate code, so you have to install that (see <xref linkend="cygwin-and-mingw">).
+Just pick up a mingw bundle at
<ulink url="http://www.mingw.org/">http://www.mingw.org/</ulink>.
We install it in <filename>c:/mingw</filename>.
</para>
@@ -4348,6 +4349,18 @@ you are likely to get into a mess because their names overlap with Cygwin binari
<listitem>
+<para>We use <command>emacs</command> a lot, so we install that too.
+When you are in <filename>fptools/ghc/compiler</filename>, you can use
+"<literal>make tags</literal>" to make a TAGS file for emacs. That uses the utility
+<filename>fptools/ghc/utils/hasktags/hasktags</filename>, so you need to make that first.
+The most convenient way to do this is by going <literal>make boot</literal> in <filename>fptools/ghc</filename>.
+The <literal>make tags</literal> command also uses <command>etags</command>, which comes with <command>emacs</command>,
+so you will need to add <filename>emacs/bin</filename> to your <literal>PATH</literal>.
+</para>
+</listitem>
+
+
+<listitem>
<para> Finally, check out a copy of GHC sources from
the CVS repository, following the instructions above (<xref linkend="cvs-access">).
</para>