-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Instructions for armv6 (Raspberry Pi 1 / Zero) #42
Comments
So, |
@theronic Yes, you only need to change the linker for the resulting binary to work.
I'm currently using official compiler build for manual cross compilation from x86_64 Linux to ARMv6 (for Pi Zero). |
Here's an example of the above that just worked for me, but done entirely from the command line rather than a config file:
|
I could not find much information about how to cross compile Rust for armv6 in order to run on a Raspberry Pi 1 / Zero, so I wrote my own tutorial (in form of a Dockerfile): https://github.com/tiziano88/rust-raspberry-pi/blob/master/Dockerfile . The trick is really just to not use the
gcc-arm-linux-gnueabihf
package from Ubuntu, because that is tied to armv7. Would you like to somehow merge our instructions? I am happy to send you a PR for your readme adding a section on armv6 if you agree. Thanks for all the work on this!The text was updated successfully, but these errors were encountered: