LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: 晨想

似乎 CLFS 2.0 的进展还挺快的。

[复制链接]
发表于 2006-6-27 10:43:26 | 显示全部楼层
Post by lilyerr
那2.0支持arm的什么时候可用啊?

你测试一下就知道了
回复 支持 反对

使用道具 举报

发表于 2006-6-27 17:52:06 | 显示全部楼层
Post by 终极幻想
读一下 Book 就知道了,,不过如果你的系统是32的话,那么中途要重启,如果是64的话,就不用。
有点不妥,好像刚好相反了,Book 说相同 architecture 就可以 chroot,否则如果 ABI 不同就要 boot

按此说法,32_cross_32 中途应该可以 chroot,32_cross_64 才要重启吧?

择自 http://cross-lfs.org/view/svn/x86_64/temp-system/choose.html
The boot method is for when you are building on a different architecture. For example, if you are building a PowerPC system from an x86, you can't chroot. [color="Red"]The chroot method is for when you are building on the same architecture. If you are building on, and for, an x86 system, you can simply chroot. [color="Red"]The rule of thumb here is if the architectures match and you are running the same series kernel you can just chroot. If you aren't running the same series kernel, or are wanting to run a different ABI, you will need to use the boot option.

If you are in any doubt about this, you can try the following commands to see if you can chroot:
  1. /tools/lib/libc.so.6
  2. /tools/lib64/libc.so.6
  3. /tools/bin/gcc -v
复制代码
If any of these commands fail, you will have to follow the boot method.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-6-27 18:25:13 | 显示全部楼层
你不是要做x86_64 multilib么? 32 cross 64 就是要重启咯。。

Book 上的这段话,是我提出的,他们修改后加入的。嘿嘿。。
回复 支持 反对

使用道具 举报

发表于 2006-6-27 19:04:08 | 显示全部楼层
哈哈,原来如此,"Text updates and Typos",难怪阁下在 CLFS 手册上金榜有名:2cool

http://cross-lfs.org/view/svn/x86/introduction/chapter.html
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-6-27 23:22:45 | 显示全部楼层
这你都发现了,我都没注意过。。。:)。。

我把x86_64 multilib 前一段的编译 写入了脚本,有需要的可以去
http://svn.myfantasy.org/webview/viewvc.cgi/
下载,名字是 clfs.x86_64.sh。脚本会不断加入内容和完善的。

使用:
/ppatch 目录是 patch 存放点
/lfssrc 目录是 源码包 存放点
/mnt/clfs 是 $LFS

事先建立好 $LFS/tools $LFS/cross-tools,然后连接到 根目录。保证目录是空的。最好用 lfs 用户。
lfs$ cat ~/.bash_profile
exec env -i HOME=$HOME TERM=$TERM PS1='\u:\w\$ ' /bin/bash

其他就不需要了。
回复 支持 反对

使用道具 举报

发表于 2006-6-28 06:41:51 | 显示全部楼层
clfs.x86_64.sh 是什麽玩意?自动脚本吗?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-6-28 10:11:04 | 显示全部楼层
是的,我为了防止自己打错东西,所以把打的东西都先写入脚本,再手动运行的说。。。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-6-29 06:00:04 | 显示全部楼层
一个小文档,关于 sysroot 的,可以稍微参考一下方法。
http://frank.harvard.edu/~coldwell/toolchain/
回复 支持 反对

使用道具 举报

发表于 2006-6-29 06:59:16 | 显示全部楼层
Harvard U!:2cool

Ha...Ha...
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-6-29 14:44:21 | 显示全部楼层
Harvard U 就是 NB 啊。。:)。
回复 支持 反对

使用道具 举报

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

本版积分规则

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