![为 LFS 编译 GCC 时出现问题](https://linux22.com/image/227559/%E4%B8%BA%20LFS%20%E7%BC%96%E8%AF%91%20GCC%20%E6%97%B6%E5%87%BA%E7%8E%B0%E9%97%AE%E9%A2%98.png)
我想编译 LFS 并在 GCC-13.2.0 Pass 1 中,但在 make 步骤中我遇到了错误
done
make[4]: Leaving directory '/mnt/lfs/sources/gcc-13.2.0/build/x86_64-pc-linux-gnu/libgcc'
make[3]: Leaving directory '/mnt/lfs/sources/gcc-13.2.0/build/x86_64-pc-linux-gnu/libgcc'
make[2]: Leaving directory '/mnt/lfs/sources/gcc-13.2.0/build'
make[2]: Entering directory '/mnt/lfs/sources/gcc-13.2.0/build'
make[3]: Entering directory '/mnt/lfs/sources/gcc-13.2.0/build'
rm -f stage_current
make[3]: Leaving directory '/mnt/lfs/sources/gcc-13.2.0/build'
make[2]: Leaving directory '/mnt/lfs/sources/gcc-13.2.0/build'
make[2]: Entering directory '/mnt/lfs/sources/gcc-13.2.0/build'
Configuring stage 2 in ./intl
configure: loading cache ./config.cache
checking for x86_64-pc-linux-gnu-gcc... /mnt/lfs/sources/gcc-13.2.0/build/./prev-gcc/xgcc -B/mnt/lfs/sources/gcc-13.2.0/build/./prev-gcc/ -B/mnt/lfs/tools/x86_64-pc-linux-gnu/bin/ -B/mnt/lfs/tools/x86_64-pc-linux-gnu/bin/ -B/mnt/lfs/tools/x86_64-pc-linux-gnu/lib/ -isystem /mnt/lfs/tools/x86_64-pc-linux-gnu/include -isystem /mnt/lfs/tools/x86_64-pc-linux-gnu/sys-include -fno-checking
checking whether the C compiler works... no
configure: error: in `/mnt/lfs/sources/gcc-13.2.0/build/intl':
configure: error: C compiler cannot create executables
See `config.log' for more details
make[2]: *** [Makefile:6551: configure-stage2-intl] Error 77
make[2]: Leaving directory '/mnt/lfs/sources/gcc-13.2.0/build'
make[1]: *** [Makefile:21586: stage2-bubble] Error 2
make[1]: Leaving directory '/mnt/lfs/sources/gcc-13.2.0/build'
make: *** [Makefile:1027: all] Error 2
我不知道我错过了什么。我看了LFS的书。有谁知道答案吗?