LFS: - 编译GCC时出错(configure-target-libgcc)

时间:2012-11-24 20:58:55

标签: linux gcc lfs

我正在研究LFS(7.2),我在编译GCC时遇到了麻烦。我来简要介绍一下。我从创建分区,用户和其他东西的基础开始。我成功配置了binutilities并且编译时没有错误。在GCC的情况下,我解开了所有三个文件(mpfr,gmp,mpc),并按照书中的说明对其进行了配置,没有任何错误。在编译GCC时,它编译了30分钟,然后它给我一个错误。

checking for i686-lfs-linux-gnu-strip... i686-lfs-linux-gnu-strip
checking whether ln -s works... yes
checking for i686-lfs-linux-gnu-gcc... /mnt/lfs/sources/gcc-build/./gcc/xgcc -B/mnt/lfs/sources/gcc-build/./gcc/ -B/tools/i686-lfs-linux-gnu/bin/ -B/tools/i686-lfs-linux-gnu/lib/ -isystem /tools/i686-lfs-linux-gnu/include -isystem /tools/i686-lfs-linux-gnu/sys-include  
checking for suffix of object files... configure: error: in `/mnt/lfs/sources/gcc-build/i686-lfs-linux-gnu/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
make[1]: *** [configure-target-libgcc] Error 1
make[1]: Leaving directory `/mnt/lfs/sources/gcc-build'
make: *** [all] Error 2

我需要解决这个问题,请指导我。

我的版本检查 http://pastebin.com/LrBgkxgE

我的配置日志内容 http://pastebin.com/kCy4sBTL

0 个答案:

没有答案