readme

来自「在linux下建立交叉编译环境的she」· 代码 · 共 34 行

TXT
34
字号
Here are the hoops I had to jump through to get the gcc and glibc regression tests running on a particularsh4-based Linux box.Note that this recipe is highly specialized to the particular system Iam using as a test host, and will need changes for other systems.1. The system didn't have a working rsh or rcp, so I installed rsh and rcp as follows:* run 'pkg-rsh.sh' on the build system* copy the resulting rsh.tgz file to the target system* unpack it* run the unpacked rsh.sh on the target system2. Set up a chroot jail that can be logged into as follows:* run 'pkg-chrootshell.sh' on the build system* copy the resulting rsh.tgz file to the target system* unpack it* run the unpacked chrootlogin.sh on the target system3. Since the target system doesn't have enough disk spaceto hold the glibc regression tests, set up a directory on thebuild system it can access via NFS:* mkdir /jail* /etc/init.d/portmap start* /etc/init.d/nfs start* echo "/jail  sh4(rw,no_root_squash)" >> /etc/exports* /usr/sbin/exportfs -a4. Perform other little setup tasks on the target system, inparticular, mount /jail from the build system as /jail on the target system:* copy 'setup.sh' to the target system* run it there

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?