GNU
Hacker_Albert
If I am not for myself, who will be for me?
If I am only for myself, what am I?
If not now, when?
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Makefile(一)
学习GNU make. 1.内置变量 .RECIPEPREFIX : makefile recipe 要求每个命令之前需要一个tab键, 而且必须是tab,但是你可以用内置变量.RECIPEPREFIX来改变这一点., 然后你就可以写成这样: .RECIPEPREFIX = > all: echo Hello, world ...原创 2019-05-24 15:14:42 · 530 阅读 · 0 评论 -
GCC compilation
-学习gcc 编译。 1.-Wall:turns on all the most commonly-used compiler warnings—it is recommended that you always use this option! gcc -Wall hello.c -o hello 2.Linking with external libraries gcc -Wall ca...原创 2019-05-11 21:14:54 · 489 阅读 · 0 评论 -
GCC Generating dependencies
学习gcc -M 1.Generating dependencies 命令如下所示: gcc -M 输出描述源文件的依赖关系。 gcc -MM 与-M相似,只是不包含系统头文件 gcc -MF file 将依赖关系写到文件file中 gcc -MT target / -MQ target 重新定义目标对象名 gcc -MD 等同于-M -MF file 2.案例Hello W...原创 2019-05-30 09:33:36 · 200 阅读 · 0 评论 -
Makefile(二)-- 变量
学习变量 1.变量 1.1.Automatic Variables Automatic variables are set by make after a rule is matched. They provide access to elements from the target and prerequisite lists so you don’t have to explicitl...原创 2019-05-31 09:13:12 · 329 阅读 · 0 评论 -
Makefile build 规则
了解makefile build 规则 1.Build Introduction Build使用的一般形式为: $(MAKE) $(build)=build_dir [argv] -$(build) 变量定义在 scripts/Kbuild.include文件中; -build_dir为可变目录和参数; -[argv] 可选。 # scripts/Kbuild.include: # S...原创 2019-06-04 18:35:30 · 4523 阅读 · 0 评论
分享