tar xvf /lfs-sources/linux-libc-headers-2.6.11.2.tar.bz2
cd linux-libc-headers-2.6.11.2
cp -Rv include/asm-i386 /tools/include/asm
cp -Rv include/linux /tools/include
cd ..
rm -rf linux-libc-headers-2.6.11.2
tar xvf /lfs-sources/glibc-2.3.4.tar.bz2 cd glibc-2.3.4 patch -Np1 -i /lfs-sources/glibc-2.3.4-fix_test-1.patch mkdir -v ../glibc-build cd ../glibc-build ../glibc-2.3.4/configure --prefix=/tools \ --disable-profile --enable-add-ons \ --enable-kernel=2.6.0 --with-binutils=/tools/bin \ --without-gd --with-headers=/tools/include \ --without-selinux make mkdir -v /tools/etc touch /tools/etc/ld.so.conf make install make localedata/install-locales cd .. rm -rf glibc-build rm -rf glibc-2.3.4
阅读(1136) | 评论(0) | 转发(0) |