|
|
发表于 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.htmlThe 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:- /tools/lib/libc.so.6
- /tools/lib64/libc.so.6
- /tools/bin/gcc -v
复制代码 If any of these commands fail, you will have to follow the boot method. |
|