52ky 发表于 2022-11-13 11:22:22

Linux软件包的配置、编译与安装

依据源码包中Makefile.in文件的指示,configure脚本检测当时的系统环境和配置选项,在当时目录中生成Makefile文件(还有其它本文无需关怀的文件),然后make程序就依照当时目录中的Makefile文件的指示将源代码编译为二进制文件,最终将这些二进制文件移动(即安装)到指定的地方(依然依照Makefil

(According to Makefile The configuration script detects the current system environment and configuration options, generates Makefile files in the current directory (and other files that do not need to be cared about in this article), and then the make program compiles the source code into binary files according to the instructions of Makefile files in the current directory, and finally moves (i.e. installs) these binary files to the specified place (still according to Makefil)




页: [1]
查看完整版本: Linux软件包的配置、编译与安装