Changeset bc8cca5 for chapter06


Ignore:
Timestamp:
06/10/2020 08:44:16 PM (4 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
387a32af
Parents:
67d1e79
Message:

Text updates to cross2 branch Chapter 6

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11917 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Location:
chapter06
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • chapter06/bash.xml

    r67d1e79 rbc8cca5  
    7575<screen><userinput remap="install">make DESTDIR=$LFS install</userinput></screen>
    7676
    77     <para>Move the excutable to where it is expected to be:</para>
     77    <para>Move the excutable to where it is expected:</para>
    7878
    7979<screen><userinput remap="install">mv $LFS/usr/bin/bash $LFS/bin/bash</userinput></screen>
  • chapter06/coreutils.xml

    r67d1e79 rbc8cca5  
    8585
    8686<screen><userinput remap="install">mv -v $LFS/usr/bin/{cat,chgrp,chmod,chown,cp,date,dd,df,echo} $LFS/bin
    87 mv -v $LFS/usr/bin/{false,ln,ls,mkdir,mknod,mv,pwd,rm} $LFS/bin
    88 mv -v $LFS/usr/bin/{rmdir,stty,sync,true,uname} $LFS/bin
    89 mv -v $LFS/usr/bin/chroot $LFS/usr/sbin
     87mv -v $LFS/usr/bin/{false,ln,ls,mkdir,mknod,mv,pwd,rm}        $LFS/bin
     88mv -v $LFS/usr/bin/{rmdir,stty,sync,true,uname}               $LFS/bin
     89mv -v $LFS/usr/bin/{head,nice,sleep,touch}                    $LFS/bin
     90mv -v $LFS/usr/bin/chroot                                     $LFS/usr/sbin
    9091mkdir -pv $LFS/usr/share/man/man8
    91 mv -v $LFS/usr/share/man/man1/chroot.1 $LFS/usr/share/man/man8/chroot.8
    92 sed -i s/\"1\"/\"8\"/1 $LFS/usr/share/man/man8/chroot.8
    93 mv -v $LFS/usr/bin/{head,nice,sleep,touch} $LFS/bin</userinput></screen>
     92mv -v $LFS/usr/share/man/man1/chroot.1                        $LFS/usr/share/man/man8/chroot.8
     93sed -i 's/"1"/"8"/'                                           $LFS/usr/share/man/man8/chroot.8</userinput></screen>
    9494
    9595  </sect2>
  • chapter06/file.xml

    r67d1e79 rbc8cca5  
    4646    <para>Prepare File for compilation:</para>
    4747
    48 <screen><userinput remap="configure">./configure --prefix=/usr   \
    49             --host=$LFS_TGT</userinput></screen>
     48<screen><userinput remap="configure">./configure --prefix=/usr --host=$LFS_TGT</userinput></screen>
    5049
    5150<!-- devs: if using - -build here, the build system wants to compile
  • chapter06/gcc-pass2.xml

    r67d1e79 rbc8cca5  
    6060<screen><userinput remap="pre">case $(uname -m) in
    6161  x86_64)
    62     sed -e '/m64=/s/lib64/lib/' \
    63         -i.orig gcc/config/i386/t-linux64
     62    sed -e '/m64=/s/lib64/lib/' -i.orig gcc/config/i386/t-linux64
    6463  ;;
    6564esac</userinput></screen>
     
    7574cd       build</userinput></screen>
    7675
    77     <para>Create a symlink that allos libgcc to be built with posix threads
     76    <para>Create a symlink that allows libgcc to be built with posix threads
    7877    support:</para>
    7978
     
    110109        <term><parameter>-with-build-sysroot=$LFS</parameter></term>
    111110        <listitem>
    112           <para>Normally, using <parameter>--host=</parameter> ensures that
     111          <para>Normally, using <parameter>--host</parameter> ensures that
    113112          a cross-compiler is used for building gcc, and that compiler knows
    114113          that it has to look for headers and libraries in <filename
     
    139138<screen><userinput remap="install">make DESTDIR=$LFS install</userinput></screen>
    140139
    141     <para>As a finishing touch, create a symlink. Many programs and scripts
     140    <para>As a finishing touch, create a utility symlink. Many programs and scripts
    142141    run <command>cc</command> instead of <command>gcc</command>, which is
    143142    used to keep programs generic and therefore usable on all kinds of UNIX
  • chapter06/introduction.xml

    r67d1e79 rbc8cca5  
    1414  the just built cross-toolchain. Those utilities are installed into
    1515  their final location, but cannot be used yet. Basic tasks still rely on
    16   the hosts tools. Nevertheless, the installed libraries are used when
     16  the host's tools. Nevertheless, the installed libraries are used when
    1717  linking.</para>
    1818
    1919  <para>Using the utilities will be possible in next chapter after entering
    2020  the <quote>chroot</quote> environment. But all the packages built in the
    21   present chapter need themselves to be built. So we cannot be independent
    22   on the build system yet.</para>
     21  present chapter need to be built before we do that. Therefore we cannot be
     22  independent of the host system yet.</para>
    2323
    2424  <para>Once again, let us recall that improper setting of <envar>LFS</envar>
  • chapter06/ncurses.xml

    r67d1e79 rbc8cca5  
    5252
    5353<screen><userinput remap="pre">mkdir build
    54 cd build
    55 ../configure
    56 make -C include
    57 make -C progs tic
    58 cd ..</userinput></screen>
     54pushd build
     55  ../configure
     56  make -C include
     57  make -C progs tic
     58popd</userinput></screen>
    5959
    6060    <para>Prepare Ncurses for compilation:</para>
  • chapter06/tar.xml

    r67d1e79 rbc8cca5  
    6464    <title/>
    6565
    66     <para>Details on this package are located in
    67     <xref linkend="contents-tar" role="."/></para>
     66    <para>Details on this package are located in <xref linkend="contents-tar" role="."/></para>
    6867
    6968  </sect2>
  • chapter06/xz.xml

    r67d1e79 rbc8cca5  
    6262    <para>Make sure that all essential files are in the correct directory:</para>
    6363
    64 <screen><userinput remap="install">mv -v   $LFS/usr/bin/{lzma,unlzma,lzcat,xz,unxz,xzcat} $LFS/bin
    65 mv -v $LFS/usr/lib/liblzma.so.* $LFS/lib
     64<screen><userinput remap="install">mv -v $LFS/usr/bin/{lzma,unlzma,lzcat,xz,unxz,xzcat} $LFS/bin
     65mv -v $LFS/usr/lib/liblzma.so.*                       $LFS/lib
    6666ln -svf ../../lib/$(readlink $LFS/usr/lib/liblzma.so) $LFS/usr/lib/liblzma.so</userinput></screen>
    6767
     
    7070  <sect2 role="content">
    7171    <title/>
    72     <para>Details on this package are located in<!-- TODO
    73     <xref linkend="contents-xz" role="."/>      --></para>
     72    <para>Details on this package are located in <xref linkend="contents-xz" role="."/></para>
    7473
    7574  </sect2>
Note: See TracChangeset for help on using the changeset viewer.