LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 532|回复: 0

6.0书中5.3节中 有一处说的不够恰当!

[复制链接]
发表于 2005-6-29 22:45:48 | 显示全部楼层 |阅读模式
小弟第一次装lfs,望大虾多指教!
5.3节中有如下一段话:
The next package installed is GCC. An example of what can be seen during its run of
./configure is:

checking what assembler to use...
            /tools/i686-pc-linux-gnu/bin/as
checking what linker to use...
/tools/i686-pc-linux-gnu/bin/ld

This is important for the reasons mentioned above. It also demonstrates that GCC's configure
script does not search the PATH directories to find which tools to use. However, during the
actual operation of gcc itself, the same search paths are not necessarily used.

我个人认为放在这里有一些不妥。
因为:
“GCC's configure script does not search the PATH directories to find which tools to use”
既然config脚本不搜搜PATH路径那么,第一边安装gcc的时候,就一定不会使用 /tools/i686-pc-linux-gnu/bin/ 下的工具。
所以:
当地一次编译gcc的时候,使用的是host机上的as和ld等工具。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表