+ -
当前位置:首页 → 问答吧 → LFS6.6英文书中的笔误

LFS6.6英文书中的笔误

时间:2010-05-07

来源:互联网

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。

请高手指教。

作者: lion1131   发布时间: 2010-05-07

我把ln的语法搞错了。我错了。
对不起大家,昨天2点才睡觉,刚才脑子乱了,大家别见怪。

作者: lion1131   发布时间: 2010-05-07