aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHimbeerserverDE <himbeerserverde@gmail.com>2023-04-11 16:38:52 +0200
committerHimbeerserverDE <himbeerserverde@gmail.com>2023-04-11 16:38:52 +0200
commitfb3f1815865463d255ed10fc89cdad706ff3804d (patch)
tree7878f021f32434c5f10a9059461ba2eca9aacf4d
parent36f6b98bb60328d9d02622309c55e4da60bdef4c (diff)
mention aarch64 binutils in usage docs
-rw-r--r--README.md9
1 files changed, 7 insertions, 2 deletions
diff --git a/README.md b/README.md
index 2235595..f512874 100644
--- a/README.md
+++ b/README.md
@@ -19,19 +19,24 @@ For the packer to work you need to install the following packages:
* nasm
* squashfs-tools-ng
* musl
+* ld
* (optional) clang
* (optional) kernel-headers-musl
If you want to build images for the Raspberry Pi, the aarch64 versions
of the musl related packages (musl itself and optionally clang and the kernel headers)
+and the linker (ld becomes aarch64-linux-gnu-binutils)
are required as well.
Clang and the kernel headers are needed for some small sys crates to compile.
Many crates will compile without them but there are a few that won't.
-Then, add the musl target:
+Then, add the musl targets:
-`rustup target add x86_64-unknown-linux-musl`
+```
+rustup target add x86_64-unknown-linux-musl
+rustup target add aarch64-unknown-linux-musl
+```
# Supported crates