摘要: 修改系统时间后编译时会提示:*** 警告:文件“../..xxx”的修改时间在将来3.1e+07,只要执行 find ./* -exec touch {} +; 单独修改文件日期也可以使用touch命令。 阅读全文
posted @ 2019-02-28 10:42 断网用户 阅读(1870) 评论(0) 推荐(0) 编辑
摘要: 1、编译生成静态库 gcc -c xxx.c -o xxx.o或者直接gcc -c xxx.c ar -rc libxxx.a xxx.o 2、编译生成动态库 gcc -c xxx.c -fPIC gcc -shared xxx.o -o libxxx.so 或者直接:gcc xxx.c -fPIC 阅读全文
posted @ 2019-02-28 10:21 断网用户 阅读(180) 评论(0) 推荐(0) 编辑
摘要: include/linux/init.h中有 #define __init __section(.init.text) __cold notrace#define __initdata __section(.init.data)#define __initconst __constsection(. 阅读全文
posted @ 2019-02-28 10:19 断网用户 阅读(162) 评论(0) 推荐(0) 编辑