Changeset c863747


Ignore:
Timestamp:
08/29/2004 08:00:56 PM (20 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
6.0
Children:
cdfb460
Parents:
3001a42
Message:

Wrapped the commands until Chapter 5 to 60 chars.
Testing new look for 'cat > .... << EOF' blocks.

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

Files:
13 edited

Legend:

Unmodified
Added
Removed
  • chapter01/askforhelp.xml

    r3001a42 rc863747  
    6565
    6666<screen><computeroutput>gcc -DALIASPATH=\"/mnt/lfs/usr/share/locale:.\"
    67 -DLOCALEDIR=\"/mnt/lfs/usr/share/locale\" -DLIBDIR=\"/mnt/lfs/usr/lib\"
     67-DLOCALEDIR=\"/mnt/lfs/usr/share/locale\"
     68-DLIBDIR=\"/mnt/lfs/usr/lib\"
    6869-DINCLUDEDIR=\"/mnt/lfs/usr/include\" -DHAVE_CONFIG_H -I. -I.
    6970-g -O2 -c getopt1.c
    70 gcc -g -O2 -static -o make ar.o arscan.o commands.o dir.o expand.o file.o
    71 function.o getopt.o implicit.o job.o main.o misc.o read.o remake.o rule.o
    72 signame.o variable.o vpath.o default.o remote-stub.o version.o opt1.o
     71gcc -g -O2 -static -o make ar.o arscan.o commands.o dir.o
     72expand.o file.o function.o getopt.o implicit.o job.o main.o
     73misc.o read.o remake.o rule.o signame.o variable.o vpath.o
     74default.o remote-stub.o version.o opt1.o
    7375-lutil job.o: In function `load_too_high':
    74 /lfs/tmp/make-3.79.1/job.c:1565: undefined reference to `getloadavg'
     76/lfs/tmp/make-3.79.1/job.c:1565: undefined reference
     77to `getloadavg'
    7578collect2: ld returned 1 exit status
    7679make[2]: *** [make] Error 1
  • chapter03/packages.xml

    r3001a42 rc863747  
    427427commands:</para>
    428428
    429 <screen><userinput>cvs -z 3 -d :pserver:anoncvs@sources.redhat.com:/cvs/glibc \
    430     export -d glibc-2.3.4-20040701 -D "2004-07-01 17:30 UTC" libc
    431 sed -i -e "s/stable/2004-07-01/" -e "s/2\.3\.3/2.3.4/" \
     429<screen><userinput>cvs -z 3 -d \
     430    :pserver:anoncvs@sources.redhat.com:/cvs/glibc \
     431    export -d glibc-2.3.4-20040701 \
     432    -D "2004-07-01 17:30 UTC" libc
     433sed -i -e "s/stable/2004-07-01/" \
     434    -e "s/2\.3\.3/2.3.4/" \
    432435    glibc-2.3.4-20040701/version.h
    433 tar jcvf glibc-2.3.4-20040701.tar.bz2 glibc-2.3.4-20040701</userinput></screen>
     436tar jcvf glibc-2.3.4-20040701.tar.bz2 \
     437    glibc-2.3.4-20040701</userinput></screen>
    434438
    435439<para> Alternatively, the LFS team developed a tarball which can be
  • chapter03/patches.xml

    r3001a42 rc863747  
    146146solve minor problems or enable functionality that is not enabled by
    147147default. Feel free to peruse the patches database located at
    148 <ulink url="&lfs-root;patches/"/>and acquire any additional
     148<ulink url="&lfs-root;patches/"/> and acquire any additional
    149149patches to suit the system needs.</para>
    150150
  • chapter05/adjusting.xml

    r3001a42 rc863747  
    8181and the output of the last command will be of the form:</para>
    8282
    83 <blockquote><screen><computeroutput>[Requesting program interpreter: /tools/lib/ld-linux.so.2]</computeroutput></screen></blockquote>
     83<screen><computeroutput>[Requesting program interpreter:
     84    /tools/lib/ld-linux.so.2]</computeroutput></screen>
    8485
    8586<para>Note that <filename class="directory">/tools/lib</filename>
  • chapter05/gcc-pass2.xml

    r3001a42 rc863747  
    4848<para>The response might be:</para>
    4949
    50 <blockquote><screen><computeroutput>The system has no more ptys.  Ask your system administrator to create more.</computeroutput></screen></blockquote>
     50<screen><computeroutput>The system has no more ptys. 
     51Ask your system administrator to create more.</computeroutput></screen>
    5152
    5253<para>If the above message is received, the host does not have its
     
    105106<screen><userinput>../gcc-&gcc-version;/configure --prefix=/tools \
    106107    --libexecdir=/tools/lib --with-local-prefix=/tools \
    107     --enable-clocale=gnu --enable-shared --enable-threads=posix \
    108     --enable-__cxa_atexit --enable-languages=c,c++ \
    109     --disable-libstdcxx-pch</userinput></screen>
     108    --enable-clocale=gnu --enable-shared \
     109    --enable-threads=posix --enable-__cxa_atexit \
     110    --enable-languages=c,c++ --disable-libstdcxx-pch</userinput></screen>
    110111
    111112<para>The meaning of the new configure options:</para>
  • chapter05/glibc.xml

    r3001a42 rc863747  
    4949<screen><userinput>../glibc-&glibc-version;/configure --prefix=/tools \
    5050    --disable-profile --enable-add-ons=nptl --with-tls \
    51     --with-__thread --enable-kernel=2.6.0 --with-binutils=/tools/bin \
    52     --without-gd --without-cvs --with-headers=/tools/glibc-kernheaders</userinput></screen>
     51    --with-__thread --enable-kernel=2.6.0 \
     52    --with-binutils=/tools/bin --without-gd --without-cvs \
     53    --with-headers=/tools/glibc-kernheaders</userinput></screen>
    5354
    5455<para>The meaning of the configure options:</para>
     
    122123
    123124<blockquote><screen><computeroutput>configure: WARNING:
    124 *** These auxiliary programs are missing or incompatible versions: msgfmt
     125*** These auxiliary programs are missing or
     126*** incompatible versions: msgfmt
    125127*** some features will be disabled.
    126128*** Check the INSTALL file for required versions.</computeroutput></screen></blockquote>
  • chapter05/hostreqs.xml

    r3001a42 rc863747  
    2727<para>This will produce output similar to:</para>
    2828
    29 <blockquote><screen><computeroutput>Linux version 2.6.2 (user@host) (gcc version 3.4.0) #1 Tue Apr 20 21:22:18 GMT 2004</computeroutput></screen></blockquote>
     29<screen><computeroutput>Linux version 2.6.2 (user@host) (gcc version 3.4.0) #1
     30    Tue Apr 20 21:22:18 GMT 2004</computeroutput></screen>
    3031
    3132<para>If the results of the above command state that the host kernel
  • chapter05/toolchaintechnotes.xml

    r3001a42 rc863747  
    9999seen during its run of <command>./configure</command> is:</para>
    100100
    101 <blockquote><screen><computeroutput>checking what assembler to use... /tools/i686-pc-linux-gnu/bin/as
    102 checking what linker to use... /tools/i686-pc-linux-gnu/bin/ld</computeroutput></screen></blockquote>
     101<screen><computeroutput>checking what assembler to use...
     102        /tools/i686-pc-linux-gnu/bin/as
     103checking what linker to use... /tools/i686-pc-linux-gnu/bin/ld</computeroutput></screen>
    103104
    104105<para>This is important for the reasons mentioned above. It also
  • chapter05/udev.xml

    r3001a42 rc863747  
    5454LFS-specific configuration files here:</para>
    5555
    56 <screen><userinput>cp ../udev-config-2.permissions /tools/etc/udev/permissions.d/00-lfs.permissions
     56<screen><userinput>cp ../udev-config-2.permissions \
     57    /tools/etc/udev/permissions.d/00-lfs.permissions
    5758cp ../udev-config-1.rules /tools/etc/udev/rules.d/00-lfs.rules</userinput></screen>
    5859
  • prologue/typography.xml

    r3001a42 rc863747  
    3939
    4040<screen><userinput>cat &gt; $LFS/etc/group &lt;&lt; "EOF"
    41 root:x:0:
     41<literal>root:x:0:
    4242bin:x:1:
    43 ......
     43......</literal>
    4444EOF</userinput></screen>
    4545
  • stylesheets/lfs.css

    r3001a42 rc863747  
    234234}
    235235
     236.literal {
     237  font-weight: normal;
     238}
     239
    236240pre.screen {
    237241  color: #000;
  • stylesheets/pdf/lfs-mixed.xsl

    r3001a42 rc863747  
    183183  </xsl:template>
    184184
     185    <!-- Presentation of literal tag -->
     186  <xsl:template match="literal">
     187    <fo:inline  font-weight="normal">
     188      <xsl:call-template name="inline.monoseq"/>
     189    </fo:inline>
     190  </xsl:template>
     191
    185192</xsl:stylesheet>
  • stylesheets/xhtml/lfs-mixed.xsl

    r3001a42 rc863747  
    1010      <xsl:when test="child::* = userinput">
    1111        <pre class="userinput">
    12           <kbd class="command">
    13             <xsl:value-of select="."/>
    14           </kbd>
     12            <xsl:apply-templates/>
    1513        </pre>
    1614      </xsl:when>
     
    2220    </xsl:choose>
    2321  </xsl:template>
     22 
     23  <xsl:template match="userinput">
     24    <xsl:choose>
     25      <xsl:when test="ancestor::screen">
     26        <kbd class="command">
     27          <xsl:apply-templates/>
     28        </kbd>
     29      </xsl:when>
     30      <xsl:otherwise>
     31        <xsl:apply-imports/>
     32      </xsl:otherwise>
     33    </xsl:choose>
     34  </xsl:template>
     35
    2436 
    2537  <!-- variablelist -->
Note: See TracChangeset for help on using the changeset viewer.