LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 818|回复: 2

关于LFS5。0的GCC软件包的文件版本

[复制链接]
发表于 2005-4-14 12:05:08 | 显示全部楼层 |阅读模式
将LFS5。1的软件包解压后,有GCC-2.95.3及GCC-CORE-3.3.3等。按5。0的说册,提到的是GCC-CORE-3.3.3(第一遍),我们使用那一个软件包?GCC-2.95.3需要使用吗?手册中第一遍编译GCC时没有提到需要打补丁。第二编时提到打的补丁文件名与下载的文件名差异很大。


LFS-PACKAGES-5.1:

gcc-2.95.3                       gcc-3.3.3-specs-1.patch
gcc-2.95.3-2.patch               gcc-3.3.3-no_fixincludes-1.patch
gcc-2.95.3-no-fixinc.patch       gcc-core-3.3.3.tar.bz2
gcc-2.95.3-returntype-fix.patch  gcc-g++-3.3.3.tar.bz2
gcc-2.95.3.tar.bz2               gcc-testsuite-3.3.3.tar.bz2
该怎么办。
 楼主| 发表于 2005-4-14 12:41:35 | 显示全部楼层
尝试安装GCC-2.95.3。但无法编译GLIBC-3.3.3.真的混帐--LFS5.1软件包。
回复 支持 反对

使用道具 举报

发表于 2005-4-15 03:35:55 | 显示全部楼层
1. You don't need the GCC-2.95.3 package in building GCC-3.3.3 Pass 1 (Chapter 5).

2. In GCC-3.3.3 Pass 1, you don't need to apply any patches.

3. GCC-2.95.3 is included solely for the purpose of compiling your 2.4 kernel because GCC-2.95.3 is recommended by the kernel developers (at the time when LFS-5.1 was released).

4. In GCC-3.3.3 Pass2, do NOT apply the 2.95 patches to the 3.3 source tree or vice versa!  Only apply the necessary 3.3 patches to the 3.3 source tree. Please read the LFS handbook carefully.

The 2.95 patches are only used in the last section of Chapter 6 when you compile the 2.95 compiler.
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表