Created
January 6, 2024 19:34
-
-
Save tom-code/08eca39cbdcf8cd5c15e05190bac7bc2 to your computer and use it in GitHub Desktop.
rust crosscompile to turris (from mac)
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
rustup target add armv7-unknown-linux-musleabihf | |
brew install arm-linux-gnueabihf-binutils | |
CARGO_TARGET_ARMV7_UNKNOWN_LINUX_MUSLEABIHF_LINKER=arm-linux-gnueabihf-ld cargo build --target=armv7-unknown-linux-musleabihf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment