【发布时间】:2013-11-19 10:25:16
【问题描述】:
我想编译NRPE static,所以我可以将编译后的二进制文件复制到我不想安装 gcc 的 OmniOS 服务器上。我更愿意从存储库安装支持 SSl 的 NRPE,但这种情况并不存在,所以我想自己编译它。但是./configure 脚本不包含它接缝的静态选项
~/nrpe-2.15# ./configure --help | grep static
~/nrpe-2.15# ./configure --help | grep share
--datadir=DIR read-only architecture-independent data [PREFIX/share]
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
问题
如何编译静态使用configure 的程序?
【问题讨论】:
-
这个包好像不支持静态链接...
标签: linux gcc configure static-linking omnios