上一页 1 ··· 3 4 5 6 7 8 下一页
摘要: 参考:shell if -n 参数-CSDN博客 if [ -n str ] 当str非空的时候,为true,例: #!/bin/bash if [ -n $1 ];then echo "with args : $1" else echo "without args" fi 上面的几行脚本,不管我们 阅读全文
posted @ 2025-02-22 19:04 老禾的账本 阅读(921) 评论(0) 推荐(0)
摘要: 设置交叉编译器,增加一些flag,具体如下: cat build-linux.sh #!/bin/bash# Debug / Release / RelWithDebInfoif [[ -z ${BUILD_TYPE} ]];then #BUILD_TYPE=Release BUILD_TYPE=D 阅读全文
posted @ 2025-02-22 18:16 老禾的账本 阅读(24) 评论(1) 推荐(0)
摘要: 键值 描述 gsettings set org.mate.interface font-name 'Noto Sans CJK SC 36' 通用字体 ,作用于菜单栏 gsettings set org.mate.interface document-font-name 'Noto Sans CJK 阅读全文
posted @ 2025-02-19 23:37 老禾的账本 阅读(18) 评论(0) 推荐(0)
摘要: 每个用户的家目录下/.local/share/Trash 输入命令 tree ├── expunged ├── files │ ├── 未保存文档 1(1) │ └── libX11(1).pdf └── info ├── 未保存文档 1(1).trashinfo └── libX11(1).pdf 阅读全文
posted @ 2025-02-19 23:23 老禾的账本 阅读(96) 评论(0) 推荐(0)
摘要: 编译go 1197 export PATH=$PATH:~/radxa2/go/bin 1086 export GO_CCFLAGS="-Wno-sizeof-array-div" 1199 export GOOS=linux 1200 export GOARCH=arm64 1201 export 阅读全文
posted @ 2025-02-19 23:15 老禾的账本 阅读(50) 评论(0) 推荐(0)
摘要: 编译ptyhon (手动关闭了两个模块: py_cv_module__lzma='n/a' py_cv_module__uuid='n/a') ./configure --prefix=/vendor --host=aarch64-none-linux-gnu --build=x86_64-pc-l 阅读全文
posted @ 2025-02-19 23:05 老禾的账本 阅读(55) 评论(0) 推荐(0)
摘要: ./configure --prefix=$(pwd)/ffi_arm --build=x86_64-pc-linux-gnu --host=aarch64-none-linux-gnu --target=aarch64-none-linux-gnu CC=aarch64-linux-musl-gc 阅读全文
posted @ 2025-02-19 23:01 老禾的账本 阅读(23) 评论(0) 推荐(0)
摘要: export CC=aarch64-linux-musl-gcc export CROSS_PREFIX=aarch64-none-linux-gnu- export CFLAGS="-Wall -g" ./configure \ --prefix=$(pwd)/zlib_arm 阅读全文
posted @ 2025-02-19 22:58 老禾的账本 阅读(50) 评论(0) 推荐(0)
摘要: autoreconf automake --add-missing autoreconf -i ./configure --prefix=/usr --host=$LFS_TGT --build=$(build-aux/config.guess) --disable-static --docdir= 阅读全文
posted @ 2025-02-19 22:54 老禾的账本 阅读(5) 评论(0) 推荐(0)
摘要: 临时指定源 pip install numpy -i https://pypi.tuna.tsinghua.edu.cn/simple3 固定指定源创建目录 sudo mkdir ~/.pip sudo nano ~/.pip/pip.conf [global]index-url = https:/ 阅读全文
posted @ 2025-02-19 22:51 老禾的账本 阅读(25) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 下一页