tar xvf /lfs-sources/gcc-3.4.3.tar.bz2
mkdir -v gcc-build
cd gcc-build
../gcc-3.4.3/configure --prefix=/tools --libexecdir=/tools/lib \
--with-local-prefix=/tools --disable-nls \
--enable-shared --enable-languages=c
make bootstrap
make install
ln -vs gcc /tools/bin/cc
cd ..
rm -rf gcc-build
rm -rf gcc-3.4.3
阅读(1141) | 评论(0) | 转发(0) |