|
LFS6.5 GCC 第一次编译:make install
错误
lfs:/mnt/lfs/sources/gcc-build$ lfs:/mnt/lfs/sources/gcc-build$ make install
bash: lfs:/mnt/lfs/sources/gcc-build$: No such file or directory
lfs:/mnt/lfs/sources/gcc-build$ make[1]: Entering directory `/mnt/lfs/sources/gcc-build'
> /bin/sh ../gcc-4.4.1/mkinstalldirs /tools /tools
> /bin/sh: line 3: cd: ./fixincludes: No such file or directory
> make[1]: *** [install-fixincludes] Error 1
> make[1]: Leaving directory `/mnt/lfs/sources/gcc-build'
> make: *** [install] Error 2
在编译中 有很多地方与中文《手把手教你如何建立自己的Linux系统(LFS速成手册)》或LFS 不同。
比如:
手把手教你如何建立自己的Linux系统(LFS速成手册)
CC="gcc -B/usr/bin/" ../binutils-2.17/configure --prefix=/tools --disable-nls --disable-werror
make
make install
make -C ld clean
make -C ld LIB_PATH=/tools/lib
cp -v ld/ld-new /tools/bin
但是LFS 6.5中没有
make -C ld clean
make -C ld LIB_PATH=/tools/lib
cp -v ld/ld-new /tools/bin
。。
还有在GCC4.1.2中
tar xvf /lfs-sources/gcc-4.1.2.tar.bz2
mkdir -v gcc-build
cd gcc-build
CC="gcc -B/usr/bin/" ../gcc-4.1.2/configure --prefix=/tools \
--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-4.1.2
但是在LFS中根本没有 “make bootstrap” 也没有ln -vs gcc /tools/bin/cc。。
请问到底是怎么回事? |
|