A script for building the Rust compiler with the standard library for cross-building for PowerPC NetBSD. This script has only been tested on ArchLinux. # Dependencies ```bash sudo pacman -S llvm rustup curl ``` # Build ```bash ./build.sh build ``` # Install ```bash sudo ./build.sh install ``` # Link Link a rustup toolchain for use. ```bash ./build.sh link ``` To build a cargo project, ensure `.cargo/config` exists with the contents: ```toml [target.powerpc-unknown-netbsd] linker = "powerpc--netbsd-gcc" ``` Then run `cargo +powerpc build --target=powerpc-unknown-netbsd`