![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Linux system
fengzhongliusu
这个作者很懒,什么都没留下…
展开
-
Device tree
The Device Tree is adata structure for describing hardware. Rather than hard coding every detail of a device into an operating system, many aspect of the hardware can be described in a data structur转载 2014-02-25 22:03:18 · 374 阅读 · 0 评论 -
关于implicit fuction declaration的解决方法
一般有2种情况会产生这种warning1 没有把函数所在的c文件生成.o目标文件2 在函数所在的c文件中定义了,但是没有在与之相关联的.h文件中声明转载 2014-03-09 16:03:55 · 1427 阅读 · 0 评论 -
makefile中的all和.PHONY的作用
请编写一个makefile同时编译、链接下面两个程序:main1.c:#includeint main(void){ printf("main1\n");}main2.c:#includeint main(void){ printf("main2\n");}【分析】:这里需要生成两个转载 2014-03-09 17:38:51 · 414 阅读 · 0 评论 -
segmentation fault 常见原因
造成segmentation fault的可能原因分析 一 造成segment fault,产生core dump的可能原因 1.内存访问越界 a) 由于使用错误的下标,导致数组访问越界 b) 搜索字符串时,依靠字符串结束符来判断字符串是否结束,但是字符串没有正常的使用结束符 c) 使用strcpy, strcat, sprintf, strcmp, strcasecmp等字符串操作函数,将目标字转载 2014-05-15 18:28:01 · 1315 阅读 · 0 评论 -
关于“vmware tools installation cannot be started manually while easy install is in progress”问题的解决
>>选择 VM->settings,删除Hardware目录下的CD/DVD和floppy,删除之前看一下之前的参数信息(之后要重新添加的);>>点击add,添加CD/DVD,参数的选择参照之前信息;添加Floppy,参数最好选择Use Physical drive(auto detect);power on, 安装VMtools;下面是安装VMtools细节:>>点击VM->in原创 2014-05-15 18:27:34 · 668 阅读 · 0 评论 -
常用git操作
很多解答是教你如何删除git repository的子模块(subModule),但是实际上这种情况不是子模块,所以在.git目录下没有.gtimodules文件,在config文件中也没有相关的配置。所以用删除子模块的方法是行不通的。 正确方法很简单: git rm --cached subfolder git add subfolder git commit翻译 2014-03-14 13:11:32 · 314 阅读 · 0 评论 -
vi替换操作
%s/^/your_word/行尾 :%s/$/your_word/原创 2014-05-21 14:44:46 · 401 阅读 · 0 评论 -
静态库和动态库
一、基本概念1.1什么是库在windows平台和linux平台下都大量存在着库。本质上来说库是一种可执行代码的二进制形式,可以被操作系统载入内存执行。由于windows和linux的平台不同(主要是编译器、汇编器和连接器的不同),因此二者库的二进制是不兼容的。本文仅限于介绍linux下的库。 1.2库的种类linux下的库有转载 2014-08-10 21:18:51 · 336 阅读 · 0 评论