|
|
在生成工具链时, 配置GCC的命令行为:
×××××××××××××××××××××××××××××××××××××
../gcc-4.0.3/configure --prefix=/tools \
--with-local-prefix=/tools --disable-nls --enable-shared \
--enable-languages=c
×××××××××××××××××××××××××××××××××××××
对其中的--with-local-prefix=/tools参数有点疑问。
在LFS上说是为了“remove /usr/local/include from gcc's include search path.“”
在GCCreferenceManual上说“The default is /usr/local. This is the prefix of the include directory that will besearched by the compiler for locally installed include files.”
我想知道,这个参数是设置当前编译器(用来编译gcc源码的已有编译器)的搜索路径,还是设置所生成GCC编译器的头文件搜索路径? |
|