Created
December 22, 2015 08:29
-
-
Save echelon/a9a288049d8b1a1723b1 to your computer and use it in GitHub Desktop.
Rust Raspberry Pi cross-compilation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # https://github.com/Ogeon/rust-on-raspberry-pi/blob/master/MANUAL.md | |
| git clone https://github.com/raspberrypi/tools.git ~/pi-tools | |
| git clone https://github.com/rust-lang/rust.git && cd rust | |
| git checkout 1.5.0 # or whatever version tag | |
| export PATH=~/pi-tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin:$PATH | |
| ./configure --target=arm-unknown-linux-gnueabihf --prefix=$HOME/pi-rust | |
| make -j4 && make install | |
| # See instructions in link above | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment