Ubuntu构建linux_unix系统编程手册代码环境配置

 
Category: Linux-Shell

方法

代码:

Distribution version (man7.org);

安装所需的库

sudo apt install gdb
sudo apt install make
sudo apt install gcc-multilib
sudo apt install libcap-dev # sys/capability.h
sudo apt install libacl1-dev # sys/acl.h

修改文件

vi progconc/syscall_speed.c

# 解注释第一行`#include "tlpi_hdr.h"`

构建

make