10397 shaares
303 private links
303 private links
It does not work on my Raspberry Pi yet for atuin
I get a:
atuin: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.39' not found (required by atuin)
A hello world binary works fine though.
rustup target add armv7-unknown-linux-gnueabihf
sudo apt-get install gcc-arm-linux-gnueabihf libgcc-13-dev-armhf-cross
- In
~/.cargo/config.toml
:[target.armv7-unknown-linux-gnueabihf] linker = "arm-linux-gnueabihf-gcc"
cargo build --target=-armv7-unknown-linux-gnueabihf --target-dir=$(pwd)
- Upload the binary in
armv7-unknown-linux-gnueabihf/debug
directory to the raspberry pi and run it.
After a first successful installation, only 4. and 5. are required.