|
|
我前面的步骤都执行了,没有出错.
执行完chroot
chroot "$LFS" /tools/bin/env -i \
HOME=/root TERM="$TERM" PS1='\u:\w\$ ' \
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin \
/tools/bin/bash --login +h
进入sources目录,我的是把文件都copy到sources下了.
Linux-Libc-Headers-2.6.11.2
Man-pages-2.01
这个没什么.
到Glibc-2.3.4时,.configure时出错了.编译前,我检查过了,目录下面没有glibc-2.3.4目录和glibc-build目录.
执行
cd ../glibc-build
../glibc-2.3.4/configure --prefix=/usr \
--disable-profile --enable-add-ons \
--enable-kernel=2.6.0 --libexecdir=/usr/lib/glibc
出现这个错误提示:
checking for suffix of object files... configure: error: cannot compute suffix of object files: cannot compile
这个是为什么啊???
我在/tools/bin目录下,找到了gcc的可执行文件.文件是存在的啊.
在提示符下运行gcc
提示说no such file or directory
我印象里应该提示gcc: no input files啊.怎么不一样呢???
请大家帮我分析,我哪里有疏漏了,谢谢. |
|