summaryrefslogtreecommitdiff
path: root/hadrian/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'hadrian/README.md')
-rw-r--r--hadrian/README.md13
1 files changed, 10 insertions, 3 deletions
diff --git a/hadrian/README.md b/hadrian/README.md
index 16a26d0cbe..dcb5e68f5d 100644
--- a/hadrian/README.md
+++ b/hadrian/README.md
@@ -183,17 +183,24 @@ $ ./configure [--prefix=PATH] && make install
workflow, for now.
+#### Building stage3
+
+It is possible to define a flavour which builds a `stage3` compiler, which is a
+compiler built using `stage2`. This is useful for cross-compilation. Detailed
+instructions can be found in the
+[user settings part of the manual](doc/user-settings.md#specifying-the-final-stage-to-build).
+
Troubleshooting
---------------
Here are a few simple suggestions that might help you fix the build:
-
+
* Hadrian is occasionally broken by changes in GHC. If this happens, you might want to switch
to an earlier GHC commit.
-
+
* If Hadrian fails with the message `Configuration file hadrian/cfg/system.config is missing`,
you have probably forgotten to pass the `--configure` flag during the first build.
-
+
* If you need help in debugging Hadrian, read the [wiki](https://github.com/snowleopard/hadrian/wiki)
and Shake's [debugging tutorial](https://shakebuild.com/debugging).