LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: enkcooper

新手尝试lfs中。

[复制链接]
 楼主| 发表于 2005-10-31 10:36:58 | 显示全部楼层
lfs 到了vim了
不出问题的话应该快了
昨天晚上寝室快断电的时候发现halt居然不能用了
刺激
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-10-31 10:46:18 | 显示全部楼层
LFS book 6.1里面

6.62. Cleaning Up
From now on, when reentering the chroot environment after exiting, use the following modified chroot command:
chroot "$LFS" /usr/bin/env -i \
HOME=/root TERM="$TERM" PS1='\u:\w\$ ' \
PATH=/bin:/usr/bin:/sbin:/usr/sbin \
/bin/bash --login
The reason for this is that the programs in /tools are no longer needed. Since they are no longer needed you can delete the /tools directory if so desired or tar it up and keep it to build another final system.
Note
Removing /tools will also remove the temporary copies of Tcl, Expect, and DejaGNU which
were used for running the toolchain tests. If you need these programs later on, they will need to be recompiled and re-installed. The BLFS book has instructions for this (see
http://www.linuxfromscratch.org/blfs/).

倒数第二段里面说的可以把/tools打包并且以后可以用作另一个系统,这个是怎么回事呐
回复 支持 反对

使用道具 举报

发表于 2005-10-31 11:57:02 | 显示全部楼层
其本上/tools的工具链是静态连结的,可以独立使用。若果将来另作一个LFS系统,你就可以直接使用,无需重复第五章
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-10-31 15:32:35 | 显示全部楼层
原来是这样
大概理解了
那么需要重复第五章里面第一次调整工具链吗?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-10-31 20:59:15 | 显示全部楼层
The Linux From Scratch Counter
Thanks for registering Cooper, your LFS ID is: 16408
正好一个月
a cycle.
回复 支持 反对

使用道具 举报

发表于 2005-10-31 21:08:12 | 显示全部楼层
Post by d00m3d
其本上/tools的工具链是静态连结的,可以独立使用。若果将来另作一个LFS系统,你就可以直接使用,无需重复第五章



我觉得总是有点问题,每次的第五节 我都是重新编译的。不然保证出错。活活。

不知道是不是我备份的方式不一样。
回复 支持 反对

使用道具 举报

发表于 2005-11-1 12:42:02 | 显示全部楼层
说实在的,我也只试过在本机下用回本机的/tools重做相同的版本,在其他机器或其他版本就未试过,请前辈们说说。
回复 支持 反对

使用道具 举报

发表于 2005-11-2 10:19:09 | 显示全部楼层
那主系统的配置是否一样呢。

比如:你在A系统下,编译了一个代号B的 tools目录,最后生成新的C系统。
这样的话:

在A下重用B,应该没问题。
在C下重用B,也许可行。
在其他系统下用B,可能性不大。

我这样的假设,不知道是否准确?
回复 支持 反对

使用道具 举报

发表于 2005-11-2 10:54:54 | 显示全部楼层
这个问题值得探索,现在没时间了,考完试後找个机会再试试。
回复 支持 反对

使用道具 举报

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

本版积分规则

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