03 2020 档案

摘要:![](https://img2020.cnblogs.com/blog/887356/202003/887356-20200327105142588-205762185.png) 阅读全文
posted @ 2020-03-27 10:52 Cristiano-Duan 阅读(542) 评论(0) 推荐(0) 编辑
摘要:``` $ git config --global alias.br branch $ git config --global alias.ci commit $ git config --global alias.st status $ git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Crese 阅读全文
posted @ 2020-03-25 16:28 Cristiano-Duan 阅读(97) 评论(0) 推荐(0) 编辑
摘要:```c++ -l, 指定所使用到的共享库,链接器会尝试链接名为libxxx.a或libxxx.so的库。 -L,指定共享库所在的文件夹,链接器会尝试搜索库目录。 -I, 指定头文件所在的文件夹,预编译器会尝试搜索头文件目录。 ``` ``` -Wl,--allow-shlib-undefined,可执行文件链接时允许动态链接库未定义,编译依然可以通过,在可执行文件执行时,可以通过LD_LIBRA 阅读全文
posted @ 2020-03-24 18:45 Cristiano-Duan 阅读(411) 评论(0) 推荐(0) 编辑
摘要:问题 Ubuntu16.04进行交叉编译时,遇到check compiler broken: xxx is not able to compile a single test program. 解决办法 阅读全文
posted @ 2020-03-21 16:30 Cristiano-Duan 阅读(1219) 评论(0) 推荐(0) 编辑
摘要:alternatives常用于同一个系统中安装同一软件的多个版本 install表示安装 link是符号链接 name则是标识符 path是执行文件的路径(绝对路径) priority则表示优先级 比如要装多个版本的cmake工具, 通过以下命令选择所需的cmake版本 阅读全文
posted @ 2020-03-21 12:36 Cristiano-Duan 阅读(598) 评论(0) 推荐(0) 编辑
摘要:最常用的判断 其他 阅读全文
posted @ 2020-03-04 10:31 Cristiano-Duan 阅读(436) 评论(0) 推荐(0) 编辑
摘要:``` 删除本地分支:git branch -d 分支名(remotes/origin/分支名) 强制删本地:git branch -D 分支名 删除远程分支:git push origin --delete 分支名(remotes/origin/分支名) ``` 阅读全文
posted @ 2020-03-03 19:50 Cristiano-Duan 阅读(181) 评论(0) 推荐(0) 编辑

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