标签:known target -- bsp linux build 配置 linker ase
以armv5为例:
1.下载编译链:
apt install arm-linux-gnueabi-gcc
2. 配置
配置文件路径:~/.crago/config
[target.armv5te-unknown-linux-gnueabi]
linker="arm-linux-gnueabi-gcc"
3. 编译
cargo build --target=armv5te-unknown-linux-gnueabi
或者cargo build --target=armv5te-unknown-linux-gnueabi --release
4. 未知作用
rustup target add armv5te-unknown-linux-gnueabi
标签:known target -- bsp linux build 配置 linker ase
原文地址:https://www.cnblogs.com/kekemuyu/p/13054169.html