Commit 5f1f78c9 authored by simonpj's avatar simonpj
Browse files

[project @ 2003-04-14 13:36:04 by simonpj]

Guidance about tags on windows
parent 8935b30a
......@@ -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>
......@@ -4347,6 +4348,18 @@ you are likely to get into a mess because their names overlap with Cygwin binari
</listitem>
<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">).
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment