|
|

楼主 |
发表于 2006-1-12 11:00:58
|
显示全部楼层
非常感谢,终于领会了文档中的目录的含义
应该是:
1.解压源码包
tar xfvj glibc-2.3.4.tar.bz2
cd glibc-2.3.4
2.给源码打补丁(最初我还以为给宿主os打补丁呢)
patch -Np1 -i ../glibc-2.3.4-fix_test-1.patch
3.创建编译目录(区分源码目录)
mkdir ../glibc-build
cd ../glibc-build
4.编译配置
.../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
不过说实在的文档中的目录写的不是很清晰 |
|