关于中文LFS和英文LFS的中的疑问?
时间:2010-02-07
来源:互联网
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。。
请问到底是怎么回事?
错误
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。。
请问到底是怎么回事?
作者: bournewang 发布时间: 2010-02-07
不用版本的软件其编译方式不一定相同,gcc-4.2 以後默认会 bootstrap,所以 make 跟 make bootstrap 是一样的
《手把手》是 6.2 左右的时候写的,内容跟新版有不同不足为奇
《手把手》是 6.2 左右的时候写的,内容跟新版有不同不足为奇
作者: d00m3d 发布时间: 2010-02-07
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28