-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Conflicts: mk/ways.mk (removed GranSim) rts/RtsMain.c (restructured main function on Windows) _NO_ conflict (but broken): rts/Trace.c (refactored function name vtrace_stderr)
- Loading branch information
Showing
701 changed files
with
9,307 additions
and
6,254 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
Building & Installing | ||
===================== | ||
|
||
For full information on building GHC, see the GHC Building Guide [1]. | ||
Here follows a summary - if you get into trouble, the Building Guide | ||
has all the answers. | ||
|
||
Before building GHC you may need to install some other tools and | ||
libraries. See "Setting up your system for building GHC" [2]. | ||
|
||
NB. in particular you need GHC installed in order to build GHC, | ||
because the compiler is itself written in Haskell. For instructions | ||
on how to port GHC to a new platform, see the Building Guide [1]. | ||
|
||
For building library documentation, you'll need Haddock [3]. To build | ||
the compiler documentation, you need a good DocBook XML toolchain and | ||
dblatex. | ||
|
||
Quick start: the following gives you a default build: | ||
|
||
$ perl boot | ||
$ ./configure | ||
$ make | ||
$ make install | ||
|
||
The "perl boot" step is only necessary if this is a tree checked out | ||
from git. For source distributions downloaded from GHC's web site, | ||
this step has already been performed. | ||
|
||
These steps give you the default build, which includes everything | ||
optimised and built in various ways (eg. profiling libs are built). | ||
It can take a long time. To customise the build, see the file | ||
`HACKING.md`. | ||
|
||
References | ||
========== | ||
|
||
[1] http://www.haskell.org/ghc/ | ||
[2] http://hackage.haskell.org/trac/ghc/wiki/Building/Preparation | ||
[3] http://www.haskell.org/haddock/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
Quick `make` guide for GHC | ||
========================== | ||
|
||
For a "Getting Started" guide, see: | ||
|
||
http://ghc.haskell.org/trac/ghc/wiki/Building/Hacking | ||
|
||
Common commands: | ||
|
||
- `make` | ||
|
||
Builds everything: ghc stages 1 and 2, all libraries and tools. | ||
|
||
- `make -j2` | ||
|
||
Parallel build: runs up to 2 commands at a time. | ||
|
||
- `cd <dir>; make` | ||
|
||
Builds everything in the given directory. | ||
|
||
- cd <dir>; make help | ||
|
||
Shows the targets available in <dir> | ||
|
||
- make install | ||
|
||
Installs GHC, libraries and tools under $(prefix) | ||
|
||
- make sdist | ||
- make binary-dist | ||
|
||
Builds a source or binary distribution respectively | ||
|
||
- `make show VALUE=<var>` | ||
|
||
Displays the value of make variable <var> | ||
|
||
- make clean | ||
- make distclean | ||
- make maintainer-clean | ||
|
||
Various levels of cleaning: "clean" restores the tree to the | ||
state after "./configure", "distclean" restores to the state | ||
after "perl boot", and maintainer-clean restores the tree to the | ||
completely clean checked-out state. | ||
|
||
Using `make` in subdirectories | ||
============================== | ||
|
||
- `make` | ||
|
||
Builds everything in this directory (including dependencies elsewhere | ||
in the tree, if necessary) | ||
|
||
- `make fast` | ||
|
||
The same as 'make', but omits some phases and does not | ||
recalculate dependencies. Useful for saving time if you are sure | ||
the rest of the tree is up to date. | ||
|
||
- `make clean` | ||
- `make distclean` | ||
- `make maintainer-clean` | ||
|
||
Clean just this directory | ||
|
||
- `make html` | ||
- `make pdf` | ||
- `make ps` | ||
|
||
Make documentation in this directory (if any) | ||
|
||
- `make show VALUE=var` | ||
|
||
Show the value of $(var) | ||
|
||
- `make <file>` | ||
|
||
Bring a particular file up to date, e.g. make dist/build/Module.o | ||
The name <file> is relative to the current directory |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
7.11.20150120 | ||
7.11.20150329 |
Oops, something went wrong.