Skip to content

Commit

Permalink
Update README.md with new target
Browse files Browse the repository at this point in the history
  • Loading branch information
samderanova committed Mar 7, 2024
1 parent fb29cae commit c6074e2
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions pod-operation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ cargo install cargo-watch
Add the build target for the Raspberry Pi

```shell
rustup target add armv7-unknown-linux-gnueabihf
rustup target add aarch64-unknown-linux-gnu
```

### Cross-Compilation
Expand All @@ -29,15 +29,19 @@ A Homebrew formula for macOS cross-compiler toolchains is available

```shell
brew tap messense/macos-cross-toolchains
brew install armv7-unknown-linux-gnueabihf
brew install aarch64-unknown-linux-gnu
```

#### Windows/Linux

To cross-compile on Windows and Linux, a different compiler toolchain is needed. From the
[Arm GNU Toolchain Downloads](https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads),
download and install the **AArch32 GNU/Linux target with hard float (arm-none-linux-gnueabihf)**
for your operating system.
download and install the **AArch64 GNU/Linux target (aarch64-none-linux-gnu)** for your operating
system.

For Linux operating systems, your distribution may also provide the target via
its package manager (`apt`, `pacman`, etc.). Please refer to the appropriate
package repository to verify and install it this way if you wish.

#### Alternative Building Process With `cross`

Expand Down

0 comments on commit c6074e2

Please sign in to comment.