我的主要目标是,我想了解参数如何在 ./configure
. 所以,我决定安装 诅咒 和 虚拟机 在 $HOME/local/
所以,为了不影响我的系统。
在配置vim的时候,我研究了一下 --with-local-dir
和 includedir
. 我想知道它们之间有什么区别。
当我查到 vim-git-INSTALL-script,它说。
Unix: LOCAL HEADERS AND LIBRARIES NOT IN /usr/local
Sometimes it is necessary to search different path than /usr/local for locally
installed headers (/usr/local/include) and libraries (/usr/local/lib).
To search /stranger/include and /stranger/lib for locally installed
headers and libraries, use:
./configure --with-local-dir=/stranger
我以为这就是 includedir
. 如果有人能告诉我我哪里做错了,我会很感激。谢谢你!我的主要目标是想了解.configure中的参数如何工作。
传统上(和每 文件), includedir
用于当前程序所在的目录。安装 头文件。 这和configure脚本可能要告诉编译器找到所需的头文件的地方是不一样的。编制 程序。