Thankyou for trying buddha.

1 INSTALLATION
--------------

Note: you will need GHC version 6 or greater. At the time of release 
      the latest version of GHC is 6.2. Obviously at this point in
      time we cannot say how well future versions of GHC will be
      supported by this particular release of buddha.

Note: buddha _needs_ GHC's libraries compiled for profiling. If you
      are not sure about this, consult the GHC documentation.

To install buddha do the following

   ./configure [options]
   make install

The options for configure are:

   --prefix=		to specify where you want buddha to install to.
                        The default (if you don't specify this option) 
                        is to install to /usr/local/

			eg: ./configure --prefix=/home/foo/bar

   --with-ghc=		to specify the exact path of ghc. This is helpful
			if you have multiple copies of ghc on your machine,
			or ghc is not in your PATH. The default is to use
			the one found first in your path or 
                        /usr/local/bin/ghc

                        eg: ./configure --with-ghc=/peculiar/path/for/ghc 

   --with-terminal=     This specifies where buddha will do its I/O. 
                        In general, buddha cannot re-use stdin and stdout because
                        the program being debugged might change their parameters.
                        They might not even be connected to terminals!
                        Therefore, buddha has to open something which will allow
                        it to read and write to the current terminal. In many (most?)
                        unix like systems this can be done with /dev/tty. 
                        If the option is not given /dev/tty will be used.
                        If your machine does not have support for /dev/tty, then you
                        should set it to something equivalent. 
                      
                        eg: ./configure --with-terminal=/foo/bar

Configure will accept more than one option, and the order does not matter:

eg: ./configure --prefix=/home/fred --with-ghc=/bin/ghc

Remember that if you want to install into a directory like /usr/local/
you may need root (administrator or super user) permissions. Thus you might 
need to do "su" before your run "make install".

2 CLEANING UP
-------------

To remove all files that can be regenerated in the build directories:

   make clean

3 MORE INFORMATION
------------------

buddha uses autoconf and automake to handle the build and installation process.
Please read the file called INSTALL for more information about that system and
the options it provides.
