Bladeren bron

Text updates to cross2 branch Chapter 6

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11917 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Bruce Dubbs 4 jaren geleden
bovenliggende
commit
bc8cca581f

+ 1 - 1
chapter06/bash.xml

@@ -74,7 +74,7 @@
 
 <screen><userinput remap="install">make DESTDIR=$LFS install</userinput></screen>
 
-    <para>Move the excutable to where it is expected to be:</para>
+    <para>Move the excutable to where it is expected:</para>
 
 <screen><userinput remap="install">mv $LFS/usr/bin/bash $LFS/bin/bash</userinput></screen>
 

+ 6 - 6
chapter06/coreutils.xml

@@ -84,13 +84,13 @@
     programs harcode executable locations:</para>
 
 <screen><userinput remap="install">mv -v $LFS/usr/bin/{cat,chgrp,chmod,chown,cp,date,dd,df,echo} $LFS/bin
-mv -v $LFS/usr/bin/{false,ln,ls,mkdir,mknod,mv,pwd,rm} $LFS/bin
-mv -v $LFS/usr/bin/{rmdir,stty,sync,true,uname} $LFS/bin
-mv -v $LFS/usr/bin/chroot $LFS/usr/sbin
+mv -v $LFS/usr/bin/{false,ln,ls,mkdir,mknod,mv,pwd,rm}        $LFS/bin
+mv -v $LFS/usr/bin/{rmdir,stty,sync,true,uname}               $LFS/bin
+mv -v $LFS/usr/bin/{head,nice,sleep,touch}                    $LFS/bin
+mv -v $LFS/usr/bin/chroot                                     $LFS/usr/sbin
 mkdir -pv $LFS/usr/share/man/man8
-mv -v $LFS/usr/share/man/man1/chroot.1 $LFS/usr/share/man/man8/chroot.8
-sed -i s/\"1\"/\"8\"/1 $LFS/usr/share/man/man8/chroot.8
-mv -v $LFS/usr/bin/{head,nice,sleep,touch} $LFS/bin</userinput></screen>
+mv -v $LFS/usr/share/man/man1/chroot.1                        $LFS/usr/share/man/man8/chroot.8
+sed -i 's/"1"/"8"/'                                           $LFS/usr/share/man/man8/chroot.8</userinput></screen>
 
   </sect2>
 

+ 1 - 2
chapter06/file.xml

@@ -45,8 +45,7 @@
 
     <para>Prepare File for compilation:</para>
 
-<screen><userinput remap="configure">./configure --prefix=/usr   \
-            --host=$LFS_TGT</userinput></screen>
+<screen><userinput remap="configure">./configure --prefix=/usr --host=$LFS_TGT</userinput></screen>
 
 <!-- devs: if using - -build here, the build system wants to compile
      the signature file with "file" on the build system, but stops if it is not

+ 4 - 5
chapter06/gcc-pass2.xml

@@ -59,8 +59,7 @@ mv -v mpc-&mpc-version; mpc</userinput></screen>
 
 <screen><userinput remap="pre">case $(uname -m) in
   x86_64)
-    sed -e '/m64=/s/lib64/lib/' \
-        -i.orig gcc/config/i386/t-linux64
+    sed -e '/m64=/s/lib64/lib/' -i.orig gcc/config/i386/t-linux64
   ;;
 esac</userinput></screen>
 
@@ -74,7 +73,7 @@ esac</userinput></screen>
 <screen><userinput remap="pre">mkdir -v build
 cd       build</userinput></screen>
 
-    <para>Create a symlink that allos libgcc to be built with posix threads
+    <para>Create a symlink that allows libgcc to be built with posix threads
     support:</para>
 
 <screen><userinput remap="pre">mkdir -pv $LFS_TGT/libgcc
@@ -109,7 +108,7 @@ ln -s ../../../libgcc/gthr-posix.h $LFS_TGT/libgcc/gthr-default.h</userinput></s
       <varlistentry>
         <term><parameter>-with-build-sysroot=$LFS</parameter></term>
         <listitem>
-          <para>Normally, using <parameter>--host=</parameter> ensures that
+          <para>Normally, using <parameter>--host</parameter> ensures that
           a cross-compiler is used for building gcc, and that compiler knows
           that it has to look for headers and libraries in <filename
           class="directory">$LFS</filename>. But the build system of GCC uses
@@ -138,7 +137,7 @@ ln -s ../../../libgcc/gthr-posix.h $LFS_TGT/libgcc/gthr-default.h</userinput></s
 
 <screen><userinput remap="install">make DESTDIR=$LFS install</userinput></screen>
 
-    <para>As a finishing touch, create a symlink. Many programs and scripts
+    <para>As a finishing touch, create a utility symlink. Many programs and scripts
     run <command>cc</command> instead of <command>gcc</command>, which is
     used to keep programs generic and therefore usable on all kinds of UNIX
     systems where the GNU C compiler is not always installed. Running

+ 3 - 3
chapter06/introduction.xml

@@ -13,13 +13,13 @@
   <para>This chapter shows how to cross-compile basic utilities using
   the just built cross-toolchain. Those utilities are installed into
   their final location, but cannot be used yet. Basic tasks still rely on
-  the hosts tools. Nevertheless, the installed libraries are used when
+  the host's tools. Nevertheless, the installed libraries are used when
   linking.</para>
 
   <para>Using the utilities will be possible in next chapter after entering
   the <quote>chroot</quote> environment. But all the packages built in the
-  present chapter need themselves to be built. So we cannot be independent
-  on the build system yet.</para>
+  present chapter need to be built before we do that. Therefore we cannot be 
+  independent of the host system yet.</para>
 
   <para>Once again, let us recall that improper setting of <envar>LFS</envar>
   together with building as root, may render your computer unusable.

+ 5 - 5
chapter06/ncurses.xml

@@ -51,11 +51,11 @@
     program on the build host:</para>
 
 <screen><userinput remap="pre">mkdir build
-cd build
-../configure
-make -C include
-make -C progs tic
-cd ..</userinput></screen>
+pushd build
+  ../configure
+  make -C include
+  make -C progs tic
+popd</userinput></screen>
 
     <para>Prepare Ncurses for compilation:</para>
 

+ 1 - 2
chapter06/tar.xml

@@ -63,8 +63,7 @@
   <sect2 role="content">
     <title/>
 
-    <para>Details on this package are located in
-    <xref linkend="contents-tar" role="."/></para>
+    <para>Details on this package are located in <xref linkend="contents-tar" role="."/></para>
 
   </sect2>
 

+ 3 - 4
chapter06/xz.xml

@@ -61,16 +61,15 @@
 
     <para>Make sure that all essential files are in the correct directory:</para>
 
-<screen><userinput remap="install">mv -v   $LFS/usr/bin/{lzma,unlzma,lzcat,xz,unxz,xzcat} $LFS/bin
-mv -v $LFS/usr/lib/liblzma.so.* $LFS/lib
+<screen><userinput remap="install">mv -v $LFS/usr/bin/{lzma,unlzma,lzcat,xz,unxz,xzcat}  $LFS/bin
+mv -v $LFS/usr/lib/liblzma.so.*                       $LFS/lib
 ln -svf ../../lib/$(readlink $LFS/usr/lib/liblzma.so) $LFS/usr/lib/liblzma.so</userinput></screen>
 
   </sect2>
 
   <sect2 role="content">
     <title/>
-    <para>Details on this package are located in<!-- TODO
-    <xref linkend="contents-xz" role="."/>      --></para>
+    <para>Details on this package are located in <xref linkend="contents-xz" role="."/></para>
 
   </sect2>
 

+ 1 - 1
chapter08/findutils.xml

@@ -26,7 +26,7 @@
     <para>The Findutils package contains programs to find files. These programs
     are provided to recursively search through a directory tree and to
     create, maintain, and search a database (often faster than the recursive
-    find, but unreliable if the database has not been recently updated).</para>
+    find, but is unreliable if the database has not been recently updated).</para>
 
     <segmentedlist>
       <segtitle>&buildtime;</segtitle>

+ 1 - 1
chapter08/grep.xml

@@ -23,7 +23,7 @@
   <sect2 role="package">
     <title/>
 
-    <para>The Grep package contains programs for searching through files.</para>
+    <para>The Grep package contains programs for searching through teh contents of files.</para>
 
     <segmentedlist>
       <segtitle>&buildtime;</segtitle>

+ 3 - 1
chapter08/make.xml

@@ -23,7 +23,9 @@
   <sect2 role="package">
     <title/>
 
-    <para>The Make package contains a program for compiling packages.</para>
+    <para>The Make package contains a program for controlling the generation of
+    executables and other non-source files of a program from the program's
+    source files. .</para>
 
     <segmentedlist>
       <segtitle>&buildtime;</segtitle>

+ 4 - 1
chapter08/tar.xml

@@ -23,7 +23,10 @@
   <sect2 role="package">
     <title/>
 
-    <para>The Tar package contains an archiving program.</para>
+    <para>The Tar package provides the ability to create tar archives, as well
+    as various other kinds of manipulation.  Tar can be used on
+    previously created archives to extract files, to store additional files, or
+    to update or list files which were already stored. </para>
 
     <segmentedlist>
       <segtitle>&buildtime;</segtitle>

+ 4 - 4
general.ent

@@ -1,13 +1,13 @@
-<!ENTITY version         "20200608-cross2">
+<!ENTITY version         "20200610-cross2">
 <!ENTITY short-version   "svn">  <!-- Used below in &blfs-book; 
                                       Change to x.y for release but not -rc releases -->
 <!ENTITY generic-version "cross-chap5"> <!-- Use "development"  or "x.y[-pre{x}]" -->
 
-<!ENTITY versiond        "20200608-cross2-systemd">
+<!ENTITY versiond        "20200610-cross2-systemd">
 <!ENTITY short-versiond  "systemd">
-<!ENTITY generic-versiond "20200608-cross2-systemd"> 
+<!ENTITY generic-versiond "20200610-cross2-systemd"> 
 
-<!ENTITY releasedate     "June 8th, 2020">
+<!ENTITY releasedate     "June 10th, 2020">
 
 <!ENTITY copyrightdate   "1999-2020"><!-- jhalfs needs a literal dash, not &ndash; -->