-
## Make

School of Computer
Wuhan University
## make & Makefile
程序的编写步骤
• 依赖关系图
工程管理与 make
make 的工作原理
规则与依赖关系 规则与依赖关系
通配符的使用
• 变量的定义和引用
• 自动变量
模式规则
• Makefile 的结构
make 命令参数与选项
• 常见的错误
• 依赖关系的自动生成
• Turbo C 的 make
与 make 相关的命令
• 参考文献
GNU's Not UNIX
和图形化方式启动
| 9 | 测试 | 支持通过 make test 命令对目标板进行自动化测试 |
| 10 | 调试 | 可通过 make debug 命令对目标板进行调试 |
更多特性和使用方法请看下文介绍。
### 置、编译、启动
• v0.3 rc1
- 添加多本知名 Linux 图书所用内核支持
####### 1.6.4 v0.4 @ 2020.06.01
v0.4 通过提升镜像下载速度、优化 make 性能、完善登陆方式等进一步完善使用体验,同时首次为 64 位 ARM 架构的 aarch64/virt 新增 U-Boot 支持并升级 arm/vexpress-a9 的 U-Boot 到当前最 0 码力 |
70 页 |
1.53 MB
| 2 年前 3
-
"C++ Flexible Array Members"
Breno Guimarães
brenorg@gmail.com
Twitter @brenorg
## std::
make_shared
(n)
Control Block
std::shared_ptr(block)
## my::shared_ptr
Control my::shared_ptr
(block)
## I will write it myself™
Control Block
template
auto my::make_shared(int n)
// FixMe: What about alignment?
// Allocate sizeof(controlBlock)
+ n*sizeof(T) bytes auto my::make_shared(int n)
Block* block = fc::make*(n(0));
// return my::shared_ptr(block);
https://godbolt.org/z/v3hdhYnaT
| 1 | make_block 0 码力 |
8 页 |
957.56 KB
| 1 年前 3 -
.. 44
4.10.1 Host build and Run ..... 44
4.10.2 Cross build and Run ..... 44
4.11 Running any make goals ..... 45
4.12 Speed up kernel development ..... 45
4.12.1 Speed up compiling and save disk (bash/SSH friendly) and graphic booting|
|Testing|Support automatic testing via make test target|
|Debugging|Debugging via make debug target|
Continue reading for more features and usage.
### 1.5 Project Virtualbox or Vmware Virtual Machine
Before running Linux Lab, please refer to section 6.1.4 and make sure the following command works without sudo and without any issue:
1 $ docker run hello-world
0 码力 |
67 页 |
1.13 MB
| 2 年前 3 -
.. 44
4.10.1 Host build and Run ..... 44
4.10.2 Cross build and Run ..... 44
4.11 Running any make goals ..... 45
4.12 Speed up kernel development ..... 45
4.12.1 Speed up compiling and save disk (bash/ssh friendly) and graphic booting|
|Testing|Support automatic testing via make test target|
|Debugging|debuggable via make debug target|
Continue reading for more features and usage.
### 1.5 Project Virtualbox or Vmware Virtual Machine
Before running Linux Lab, please refer to section 6.1.4 and make sure the following command works without sudo and without any issue:
1 $ docker run hello-world
0 码力 |
66 页 |
1.12 MB
| 2 年前 3
|