LinuxSir.cn,穿越时空的Linuxsir!

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

LFS6.6英文书中的笔误

[复制链接]
发表于 2010-5-7 08:32:45 | 显示全部楼层 |阅读模式
LFS 6.6英文书中5.10节GCC-4.4.3 - Pass 2中在安装完后生成符号链接的代码

ln -vs gcc /tools/bin/cc

是不是应该是

ln -vs cc /tools/bin/gcc  ?

创建符号链接的原因的原文:
Many programs and scripts run cc instead of gcc, which is used to keep programs generic and therefore usable on all kinds of UNIX systems where the GNU C compiler is not always installed. Running cc leaves the system administrator free to decide which C compiler to install
根据原文的意思是为了保证通用性,保证能够在没有安装GNU C编译器的UNIX系统上安装,很多程序和脚本都使用cc而不使用gcc,
而且在/tools/bin/cc下面也只有gcc,而没有cc。

请高手指教。
 楼主| 发表于 2010-5-7 08:50:16 | 显示全部楼层
我把ln的语法搞错了。我错了。
对不起大家,昨天2点才睡觉,刚才脑子乱了,大家别见怪。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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