From b29062cb76dbc47f4decc6116f3b7c13c0718ec0 Mon Sep 17 00:00:00 2001 From: Joshua Nelson Date: Wed, 9 Sep 2020 12:22:56 -0400 Subject: [PATCH] Fix broken hyperlink (#862) * Fix broken hyperlink * Link to previous pages instead of skipping ahead * Fix line lengths --- src/building/suggested.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/building/suggested.md b/src/building/suggested.md index 0cc91b40..424452b6 100644 --- a/src/building/suggested.md +++ b/src/building/suggested.md @@ -81,7 +81,7 @@ don't work (but that is easily detected and fixed). The sequence of commands you want is as follows: - Initial build: `./x.py build -i library/std` - - As [documented above](#command), this will build a functional + - As [documented previously], this will build a functional stage1 compiler as part of running all stage0 commands (which include building a `std` compatible with the stage1 compiler) as well as the first few steps of the "stage 1 actions" up to "stage1 (sysroot stage1) @@ -89,6 +89,8 @@ The sequence of commands you want is as follows: - Subsequent builds: `./x.py build -i library/std --keep-stage 1` - Note that we added the `--keep-stage 1` flag here +[documented previously]: ./how-to-build-and-run.md#building-the-compiler + As mentioned, the effect of `--keep-stage 1` is that we just *assume* that the old standard library can be re-used. If you are editing the compiler, this is almost always true: you haven't changed the standard library, after