[英]compiling various header files in c using autotools in arch linux
我想知道如何在Arch Linux中使用自动工具通过一个命令来编译许多头文件
Header files are not for compilation. 头文件不用于编译。 They do not (or should not) define an implementation.
他们没有(或不应该)定义实现。
For general automake help, I would suggest the Automake manual 对于一般的自动制作帮助,我建议使用“ 自动制作”手册
Generally you don't compile header files ( .h
), but instead the .c
files. 通常,您不编译头文件(
.h
),而是.c
文件。
If you just have some source code package that uses autotools and that you want to compile the usual command would be: 如果您只有一些使用自动工具的源代码包,并且想要编译,则通常的命令将是:
./configure && make
If you also want to install the package an your system, follow that up by make install
. 如果您还想将软件包安装到系统中,请通过
make install
后续操作。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.