+ -
当前位置:首页 → 问答吧 → 求助:LFS-6.5, 5.8. Adjusting the Toolchain

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

时间:2009-11-20

来源:互联网

执行:
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

作者: ShianZong   发布时间: 2009-11-20

貌似你没有定义$LFS_TGT,估计是"4.4. Setting Up the Environment"中没有执行下面的语句
source ~/.bash_profile

作者: xu_john   发布时间: 2009-11-20

唉,注册多年,这貌似我发的头一个回复啊.看来的确是个超级潜水员啊.

作者: xu_john   发布时间: 2009-11-20

热门下载

更多