Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
由于我需要通过更改编译器AC_PROG_CC并且编译器不在系统中,PATH我想PATH从内部扩展变量configure.ac。可悲的是,我找不到任何选择来做到这一点。或者是否可以直接更改搜索路径AC_PROG_CC?
AC_PROG_CC
PATH
configure.ac
不用担心设置$PATH。尝试设置$CC:
$PATH
$CC
./configure CC=/path/to/cc
要回答书面问题,您可以设置$PATH相同的方式:
./configure PATH="$PATH:/path/to"