LinuxSir.cn,穿越时空的Linuxsir!

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

求助:LFS-6.5, 5.8. Adjusting the Toolchain

[复制链接]
发表于 2009-11-20 13:36:02 | 显示全部楼层 |阅读模式
执行:
lfs:glibc-build $ SPECS=`dirname $($LFS_TGT-gcc -print-libgcc-file-name)`/specs
报错:
-bash: -gcc: command not found
dirname: missing operand
Try `dirname --help' for more information.

再就是,$LFS_TGT-gcc 指向哪个文件呢?$LFS_TGT-gcc 和 gcc 有区别么,见下:
lfs:glibc-build $ which gcc
/tools/bin/gcc
发表于 2009-11-20 15:40:23 | 显示全部楼层
貌似你没有定义$LFS_TGT,估计是"4.4. Setting Up the Environment"中没有执行下面的语句
source ~/.bash_profile
回复 支持 反对

使用道具 举报

发表于 2009-11-20 15:41:10 | 显示全部楼层
唉,注册多年,这貌似我发的头一个回复啊.看来的确是个超级潜水员啊.
回复 支持 反对

使用道具 举报

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

本版积分规则

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