Skip to content

Commit f3cdfac

Browse files
authored
Update README with clean instructions
Addresses issue riscv-collab#1196 Signed-off-by: Dan Weaver <[email protected]>
1 parent 3fb2571 commit f3cdfac

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

+16
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,22 @@ upstream sources exists in $(DISTDIR), it will be used; the default location
4646
is /var/cache/distfiles. Your computer will need about 8 GiB of disk space to
4747
complete the process.
4848

49+
### Clean Installation
50+
51+
It is recommended to do clean builds to avoid problems with outdated stamp
52+
files. This can be done with the following commands where `$RISCV` is the
53+
install path used by the previous build:
54+
55+
rm -r $RISCV
56+
git clean -fXd
57+
58+
`configure` can then be rerun.
59+
60+
Partial rebuilds can be done by deleting the respective files in `stamps/` and
61+
rerunning `make` but is not recommended if the sources have changed due to
62+
possible interdependencies of the steps.
63+
64+
4965
### Installation (Newlib)
5066

5167
To build the Newlib cross-compiler, pick an install path (that is writeable).

0 commit comments

Comments
 (0)