The magic behind configure, make, make install
关于此博客,我创建了一个小项目,大家可以参考一下:
https://github.com/yaowenxu/Projects/tree/master/Autotools-learn
https://yaowenxu.github.io/Projects/
相关扩展阅读:
Linux 命令详解(三)./configure、make、make install 命令
./configure & make & make install 知其所以然
https://www.gnu.org/software/automake/manual/
关于GNU构建系统:
GNU Build System 主要是通过autoconf automake 和 libtool 这三个工具构建出来的软件结构体系。这个软件体系结构也是所有GNU项目的打包方式。
Learning the GNU development tools
上图是autotools的流程图,其中 configure.ac 和 Makefile.am 需要我们自己编写,其他都可以程序生成。
保持更新,更多内容请关注cnblogs.com/xuyaowen;