终于比较难的地方搞完了,接下来的事情就安装而言更为简单。
安装binutils、gcc的测试套件:
-
安装tcl:
-
cd unix
-
./configure --prefix=/tools
-
make
-
make install
-
chmod -v u+w /tools/lib/libtcl8.5.so
-
make install-private-headers
-
ln -sv tclsh8.5 /tools/bin/tclsh
-
-
安装expect:
-
patch -Np1 -i ../expect-5.43.0-spawn-1.patch
-
patch -Np1 -i ../expect-5.43.0-tcl_8.5.5_fix-1.patch
-
-
cp -v configure{,.orig}
-
sed 's:/usr/local/bin:/bin:' configure.orig > configure
-
./configure --prefix=/tools --with-tcl=/tools/lib \
-
--with-tclinclude=/tools/include --with-x=no
-
make
-
make test
-
make SCRIPTS="" install
-
-
安装dajagnu:
-
./configure --prefix=/tools
-
make install
-
make check
安装ncurses
-
./configure --prefix=/tools --with-shared \
-
--without-debug --without-ada --enable-overwrite
-
make
-
make install
安装bash
-
./configure --prefix=/tools --without-bash-malloc
-
make tests
-
make install
-
ln -sv bash /tools/bin/sh
整个过程比较清楚,结构比之前简单,没有什么错误。
阅读(1948) | 评论(0) | 转发(1) |