02 2025 档案

摘要:参考: https://blog.csdn.net/QQ2010899751/article/details/81347599 在合并几个oh的repo库后,repo sync repo sync时报出的警告: Fetching: 0% (0/465) 0:00 | ..working..Inval 阅读全文
posted @ 2025-02-28 20:33 南渡北归 阅读(4) 评论(0) 推荐(0) 编辑
摘要:注释掉cat bootstrap.sh里面的configure,然后sudo执行: sudo ./bootstrap.sh sudo 执行configure,否则可能后续编译时找不到config.h报错。 sudo ./configure --enable-shared --host=aarch64 阅读全文
posted @ 2025-02-28 10:23 南渡北归 阅读(3) 评论(1) 推荐(0) 编辑
摘要:oh移植第三方库: https://blog.51cto.com/u_15375308/11896421 vim https://mp.weixin.qq.com/s?__biz=Mzg4ODQ1NTE2Mg==&mid=2247570953&idx=1&sn=564fb3e0a984f109118 阅读全文
posted @ 2025-02-27 23:23 南渡北归 阅读(1) 评论(0) 推荐(0) 编辑
摘要:参考: https://zhuanlan.zhihu.com/p/123370920 https://blog.csdn.net/csh1807266489/article/details/137828008 https://www.cnblogs.com/taohuaya/p/10761799.h 阅读全文
posted @ 2025-02-27 23:20 南渡北归 阅读(2) 评论(2) 推荐(0) 编辑
摘要:原文链接:https://blog.csdn.net/sinat_40025092/article/details/141320289 PIC:"Position-Independent Code"(位置无关代码)该选项的主要作用是在编译时生成可以在内存中任意位置加载并执行的代码,而不会因为加载地址 阅读全文
posted @ 2025-02-27 23:17 南渡北归 阅读(6) 评论(0) 推荐(0) 编辑
摘要:参考:https://blog.csdn.net/weixin_51753483/article/details/141001572 git remote add [shortname] [url] 在github新建仓库后,如果不是clone,也可以在本地通过如下命令与远程: $ git init 阅读全文
posted @ 2025-02-27 22:45 南渡北归 阅读(0) 评论(0) 推荐(0) 编辑
摘要:拓展上文:https://www.cnblogs.com/tong2357/p/18725407 参考:https://blog.csdn.net/wjjontheway/article/details/124128462 repo init -u git@gitee.com:openharmony 阅读全文
posted @ 2025-02-27 21:47 南渡北归 阅读(8) 评论(0) 推荐(0) 编辑
摘要:Makefile.inMakefile.am基本上都是一系列make变量定义。 当需要在与其开发平台不同的平台上构建包时,通。常需要调整其Makefile。例如,编译器可能有另一个名称或需要更多的选项。 David J. MacKenzie手工制作了一个名为configure的小shell脚本来自动 阅读全文
posted @ 2025-02-27 21:21 南渡北归 阅读(2) 评论(0) 推荐(0) 编辑
摘要:说明 下载 说明下载地址3.2 https://gitee.com/openharmony/docs/blob/master/zh-cn/release-notes/OpenHarmony-v3.2-release.md https://gitee.com/link?target=https%3A% 阅读全文
posted @ 2025-02-22 22:21 南渡北归 阅读(10) 评论(0) 推荐(0) 编辑
摘要:肥猫: Felix's Blog lazycat: ManateeLazyCat Houge_Langley: Houge's Madness Blog – 哪里有人会喜欢孤独,不过是不喜欢失望 阮一峰: 阮一峰的网络日志 : 全部文章(按分类查看) 金国步: 金步国作品集 阅读全文
posted @ 2025-02-22 19:42 南渡北归 阅读(4) 评论(0) 推荐(0) 编辑
摘要:iso下载: Xiange Linux / Wiki / Home 虚拟环境安装: 弦歌Linux模拟与安装 - 知乎 维护者的知乎主页: 长阳山人 - 知乎 阅读全文
posted @ 2025-02-22 19:13 南渡北归 阅读(2) 评论(0) 推荐(0) 编辑
摘要:参考: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 南渡北归 阅读(50) 评论(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 南渡北归 阅读(3) 评论(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 南渡北归 阅读(2) 评论(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 南渡北归 阅读(4) 评论(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 南渡北归 阅读(1) 评论(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 南渡北归 阅读(4) 评论(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 南渡北归 阅读(2) 评论(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 南渡北归 阅读(4) 评论(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 南渡北归 阅读(0) 评论(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 南渡北归 阅读(4) 评论(0) 推荐(0) 编辑
摘要:dpkg-buildflags --get LDFLAGS -Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -flto=auto -Wl,-z,relro dpkg-buildflags --get CFLAGS -g -O2 -ffile 阅读全文
posted @ 2025-02-19 22:43 南渡北归 阅读(4) 评论(0) 推荐(0) 编辑
摘要:参考:https://cloud.tencent.com/developer/article/1869422 方法一: while read line; do [[ "$line" == "" ]] || echo "$line"; done < ./a >b 方法二: for line in `c 阅读全文
posted @ 2025-02-19 22:31 南渡北归 阅读(2) 评论(0) 推荐(0) 编辑
摘要:pull参考:https://www.runoob.com/git/git-pull.html push参考:https://www.runoob.com/git/git-push.html git pull是git fetch 和 git merge 的简写 git pull [远程仓库名] [分 阅读全文
posted @ 2025-02-19 22:17 南渡北归 阅读(6) 评论(0) 推荐(0) 编辑
摘要:参考:https://blog.csdn.net/wjjontheway/article/details/124128462 repo是为了管理多个git仓库而用的。 repo自己也建立了一个git仓库:manifest。用于管理各个子仓分别处于哪个分支。 repo只是一个脚本,要执行repo in 阅读全文
posted @ 2025-02-19 22:02 南渡北归 阅读(21) 评论(0) 推荐(0) 编辑
摘要:假设仓库存在两个分支,分支一为: commit 93ed75d2a12a543e44ae28a2393f91182d636677 (HEAD -> master) 77 commit c3048bbbac57e642d1ff49a87048a45b62e687c1 666 commit fc3e97 阅读全文
posted @ 2025-02-17 18:25 南渡北归 阅读(5) 评论(0) 推荐(0) 编辑
摘要:在openharmony@rk3588上部署deepseek相对于linux上困难一些。主要的问题在于: 1,openharmony上没有glibc,而rk平台的机器学习框架依赖它; 2,openharmony的npu驱动过老,导致运算错误; 3,openharmony上python没有或不全,导致 阅读全文
posted @ 2025-02-14 19:43 南渡北归 阅读(121) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示