[project @ 2004-11-20 16:02:41 by panne]
[ghc-hetmet.git] / distrib / INSTALL
1 This is the INSTALL instructions for a binary distribution of one of
2 the fptools projects (eg. GHC). For more details on what on earth this
3 package is up to, please consult the README and ANNOUNCE.
4
5 To start using the bundle, you can either:
6
7 * use it in-place, i.e., don't go ahead with a
8   full install, but just set it up to use the unpacked
9   distribution in-situ.
10
11 * get it over with, and do the full install (details of how are ahead).
12
13 To set the ball rolling, run the configure script (as usual, run the
14 script with --help to see what options it supports).  eg. to set up
15 the package for installing in directory <my-dir>, use
16
17         ./configure --prefix=<my-dir>
18
19 The default installation directory is /usr/local.  For using the
20 package in-place, the --prefix option can be omitted.
21
22 This will figure out what platform you're running on, and a couple of
23 other interesting pieces of trivia, which it will then fill in the
24 Makefile.in template to give you a real Makefile.  If you're of a
25 paranoid persuasion, you might want to take a look at this Makefile to
26 see if the information is correct.
27
28 To use the software in-place, now run:
29
30         make in-place
31
32 or if you're installing,  run
33
34         make install 
35
36 (`make show-install-setup' prints the details of where the different
37 pieces of the bundle are heading when -- possibly helpful).
38
39 If you're installing GHC, then its installation instructions have more
40 information, check out http://www.haskell.org/ghc/documentation.html.
41
42 Bug reports/suggestions for improvement to the installation procedure/setup
43 (as well as other GHC related troubles you're experiencing, of course),
44 gratefully received at glasgow-haskell-bugs@haskell.org.
45
46 Enjoy,
47 -- The GHC Team.