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