|Version 6 (modified by 8 years ago) (diff),|
Quick Start: Just building and installing GHC
"I just want to build it!"
No problem. This recipe should build and install a working GHC with all the default settings.
If you are starting from a
darcs checkout(or rebuilding from darcs), then:
$ sh boot
(this step isn't necessary if you have a source distribution).
$ ./configure --host=i386-unknown-mingw32 --with-gcc=c:/mingw/bin/gcc --with-ld=c:/mingw/bin/ld.exe
c:/mingw should be replaced by the place you installed MinGW, if you installed it somewhere other than the default.
Non-Windows users can just say:
$ make $ make install
This will do a 2-stage bootstrap build of the compiler, with
profiling libraries, and install the results in the default location
/usr/local on Unix, for example).
configure script is a standard GNU
autoconf script, and accepts the usual options for
changing install locations and the like. Run
./configure --help for a list of
If you want to do anything at all non-standard, or you want to do some development, read on...