- 进入根目录(即configure所在目录)
- 赋予权限:
chmod a+x config.sub configure
- 编译:
./configure ubuntu
- 修改文件:
line=
grep -n "uint8_t unsigned char" config.h |cut -f1 -d:| sed -i $line',+3d' config.h
错误参考 - 编译库:
cd lib && make
- 编译程序:
cd ../pipe && make
生成多个可执行文件,对应其源文件. 其它文件夹代码也是直接进入文件夹直接make
就好
jefung / unpv22 Goto Github PK
View Code? Open in Web Editor NEWUNIX网络编程 卷2:进程间通信(第2版)学习, 书中源码及中文注释