Changes in / [150ed37:cf479f2]


Ignore:
Location:
BOOK
Files:
30 edited

Legend:

Unmodified
Added
Removed
  • BOOK/boot/common/eudev.xml

    r150ed37 rcf479f2  
    4949    <para os="r1">Create a dummy rule so that Eudev will name ethernet devices properly for the system.</para>
    5050
    51 <screen os="r2"><userinput>echo "# dummy, so that network is once again on eth*" &gt; \
     51<screen os="r2"><userinput>echo "# dummy, so that network is once again on eth*" > \
    5252    /tools/etc/udev/rules.d/80-net-name-slot.rules</userinput></screen>
    5353
  • BOOK/boot/common/shadow.xml

    r150ed37 rcf479f2  
    2929<screen os="c"><userinput>cp -v src/Makefile.in{,.orig}
    3030sed -e 's/groups$(EXEEXT) //' -e 's/= nologin$(EXEEXT)/= /' \
    31     src/Makefile.in.orig &gt; src/Makefile.in</userinput></screen>
     31    src/Makefile.in.orig > src/Makefile.in</userinput></screen>
    3232
    3333    <para os="d">Prepare Shadow for compilation:</para>
  • BOOK/boot/mips/colo-build.xml

    r150ed37 rcf479f2  
    4040
    4141<screen os="s2"><userinput>cp -v stage2/Makefile{,.orig}
    42 sed '/^CFLAGS/s/-Werror //' stage2/Makefile.orig &gt; stage2/Makefile</userinput></screen>
     42sed '/^CFLAGS/s/-Werror //' stage2/Makefile.orig > stage2/Makefile</userinput></screen>
    4343
    4444    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/chroot/64/createfiles.xml

    r150ed37 rcf479f2  
    2121ln -sv /tools/lib/libgcc_s.so{,.1} /usr/lib
    2222ln -sv /tools/lib/libstdc++.so{.6,} /usr/lib
    23 sed -e 's/tools/usr/' /tools/lib/libstdc++.la &gt; /usr/lib/libstdc++.la
     23sed -e 's/tools/usr/' /tools/lib/libstdc++.la > /usr/lib/libstdc++.la
    2424ln -sv bash /bin/sh
    2525ln -sv /run /var/run</userinput></screen>
  • BOOK/chroot/common/createfiles.xml

    r150ed37 rcf479f2  
    1919ln -sv /tools/lib/libgcc_s.so{,.1} /usr/lib
    2020ln -sv /tools/lib/libstdc++.so{.6,} /usr/lib
    21 sed -e 's/tools/usr/' /tools/lib/libstdc++.la &gt; /usr/lib/libstdc++.la
     21sed -e 's/tools/usr/' /tools/lib/libstdc++.la > /usr/lib/libstdc++.la
    2222ln -sv bash /bin/sh
    2323ln -sv /run /var/run</userinput></screen>
  • BOOK/chroot/mips64/createfiles.xml

    r150ed37 rcf479f2  
    2323ln -sv /tools/lib32/libstdc++.so{.6,} /usr/lib32
    2424ln -sv /tools/lib64/libstdc++.so{.6,} /usr/lib64
    25 sed -e 's/tools/usr/' /tools/lib/libstdc++.la &gt; /usr/lib/libstdc++.la
     25sed -e 's/tools/usr/' /tools/lib/libstdc++.la > /usr/lib/libstdc++.la
    2626ln -sv bash /bin/sh
    2727ln -sv /run /var/run</userinput></screen>
  • BOOK/cross-tools/common/gcc-static.xml

    r150ed37 rcf479f2  
    5151<filename class="directory">/tools</filename>:</para>
    5252
    53 <screen os="ah"><userinput>echo -en '\n#undef STANDARD_STARTFILE_PREFIX_1\n#define STANDARD_STARTFILE_PREFIX_1 "/tools/lib/"\n' &gt;&gt; gcc/config/linux.h
    54 echo -en '\n#undef STANDARD_STARTFILE_PREFIX_2\n#define STANDARD_STARTFILE_PREFIX_2 ""\n' &gt;&gt; gcc/config/linux.h</userinput></screen>
     53<screen os="ah"><userinput>echo -en '\n#undef STANDARD_STARTFILE_PREFIX_1\n#define STANDARD_STARTFILE_PREFIX_1 "/tools/lib/"\n' >> gcc/config/linux.h
     54echo -en '\n#undef STANDARD_STARTFILE_PREFIX_2\n#define STANDARD_STARTFILE_PREFIX_2 ""\n' >> gcc/config/linux.h</userinput></screen>
    5555
    5656    <para os="t1">We will create a dummy <filename>limits.h</filename> so
  • BOOK/cross-tools/ppc/gcc-static.xml

    r150ed37 rcf479f2  
    4848    xpointer="xpointer(//*[@os='ag'])"/>
    4949
    50 <screen os="ah"><userinput>echo -en '\n#undef STANDARD_STARTFILE_PREFIX_1\n#define STANDARD_STARTFILE_PREFIX_1 "/tools/lib/"\n' &gt;&gt; gcc/config/rs6000/sysv4.h
    51 echo -en '\n#undef STANDARD_STARTFILE_PREFIX_2\n#define STANDARD_STARTFILE_PREFIX_2 ""\n' &gt;&gt; gcc/config/rs6000/sysv4.h</userinput></screen>
     50<screen os="ah"><userinput>echo -en '\n#undef STANDARD_STARTFILE_PREFIX_1\n#define STANDARD_STARTFILE_PREFIX_1 "/tools/lib/"\n' >> gcc/config/rs6000/sysv4.h
     51echo -en '\n#undef STANDARD_STARTFILE_PREFIX_2\n#define STANDARD_STARTFILE_PREFIX_2 ""\n' >> gcc/config/rs6000/sysv4.h</userinput></screen>
    5252
    5353    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/final-system/common/coreutils.xml

    r150ed37 rcf479f2  
    6868    of it so that the tests are not skipped:</para>
    6969
    70 <screen os="j"><userinput remap="test">echo "dummy:x:1000:nobody" &gt;&gt; /etc/group</userinput></screen>
     70<screen os="j"><userinput remap="test">echo "dummy:x:1000:nobody" >> /etc/group</userinput></screen>
    7171
    7272    <para os="k">Fix permissions of some files so the non-root user can compile
  • BOOK/final-system/common/ncurses.xml

    r150ed37 rcf479f2  
    6868
    6969<screen os="m"><userinput>for lib in curses ncurses form panel menu ; do
    70         echo "INPUT(-l${lib}w)" &gt; /usr/lib/lib${lib}.so
     70        echo "INPUT(-l${lib}w)" > /usr/lib/lib${lib}.so
    7171        ln -sfv lib${lib}w.a /usr/lib/lib${lib}.a
    7272done
  • BOOK/final-system/common/tar.xml

    r150ed37 rcf479f2  
    4949    <para os="h">Generate the man page and place it in the proper location:</para>
    5050
    51 <screen os="i"><userinput>perl tarman &gt; /usr/share/man/man1/tar.1</userinput></screen>
     51<screen os="i"><userinput>perl tarman > /usr/share/man/man1/tar.1</userinput></screen>
    5252
    5353    <para os="j">Install the documentation:</para>
  • BOOK/final-system/common/zlib.xml

    r150ed37 rcf479f2  
    3939    <para os="e">To test the results, issue:</para>
    4040
    41 <screen os="e2"><userinput remap="test">make check</userinput></screen>
     41<screen os="e2" ><userinput remap="test">make check</userinput></screen>
    4242
    4343    <para os="f">Install the package:</para>
  • BOOK/final-system/multilib/ncurses-64bit.xml

    r150ed37 rcf479f2  
    8686
    8787<screen os="m"><userinput>for lib in curses ncurses form panel menu ; do
    88         echo "INPUT(-l${lib}w)" &gt; /usr/lib64/lib${lib}.so
     88        echo "INPUT(-l${lib}w)" > /usr/lib64/lib${lib}.so
    8989        ln -sfv lib${lib}w.a /usr/lib64/lib${lib}.a
    9090done
  • BOOK/final-system/multilib/ncurses-n32.xml

    r150ed37 rcf479f2  
    8686
    8787<screen os="m"><userinput>for lib in curses ncurses form panel menu ; do
    88         echo "INPUT(-l${lib}w)" &gt; /usr/lib32/lib${lib}.so
     88        echo "INPUT(-l${lib}w)" > /usr/lib32/lib${lib}.so
    8989        ln -sfv lib${lib}w.a /usr/lib32/lib${lib}.a
    9090done
  • BOOK/final-system/multilib/ncurses.xml

    r150ed37 rcf479f2  
    8787
    8888<screen os="m"><userinput>for lib in curses ncurses form panel menu ; do
    89         echo "INPUT(-l${lib}w)" &gt; /usr/lib/lib${lib}.so
     89        echo "INPUT(-l${lib}w)" > /usr/lib/lib${lib}.so
    9090        ln -sfv lib${lib}w.a /usr/lib/lib${lib}.a
    9191done
  • BOOK/final-system/multilib/perl-64bit.xml

    r150ed37 rcf479f2  
    4747    <para os="m2">We still need to tell Perl to actually use <filename class="directory">lib64</filename>:</para>
    4848
    49 <screen os="m3"><userinput>echo 'installstyle="lib64/perl5"' &gt;&gt; hints/linux.sh</userinput></screen>
     49<screen os="m3"><userinput>echo 'installstyle="lib64/perl5"' >>hints/linux.sh</userinput></screen>
    5050
    5151    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/final-system/multilib/perl-n32.xml

    r150ed37 rcf479f2  
    4848    <para os="m2">We still need to tell perl to actually use lib32:</para>
    4949
    50 <screen os="m3"><userinput>echo 'installstyle="lib32/perl5"' &gt;&gt; hints/linux.sh</userinput></screen>
     50<screen os="m3"><userinput>echo 'installstyle="lib32/perl5"' >>hints/linux.sh</userinput></screen>
    5151
    5252    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/general.ent

    r150ed37 rcf479f2  
    33<!ENTITY month "05"> <!-- Use two digits -->
    44<!ENTITY month_name "May">
    5 <!ENTITY day "29"> <!-- Use two digits -->
     5<!ENTITY day "28"> <!-- Use two digits -->
    66<!ENTITY year "2014"> <!-- Use four digits -->
    77
  • BOOK/introduction/common/changelog.xml

    r150ed37 rcf479f2  
    3838
    3939    <listitem>
    40       <para>29 May 2014</para>
    41       <itemizedlist>
    42         <listitem>
    43           <para>[Chris] - Edited "how" page - removed details about
    44           booting/chrooting and moved them to the "choose" page for temp-system.</para>
    45         </listitem>
    46       </itemizedlist>
    47     </listitem>
    48 
    49     <listitem>
    5040      <para>28 May 2014</para>
    5141      <itemizedlist>
  • BOOK/introduction/common/how.xml

    r150ed37 rcf479f2  
    2222  your machine, you may wish to use a livecd. Most distributions provide
    2323  a livecd, which provides an environment to which you can add the required
    24   tools onto, allowing you to successfully follow the instructions in this
    25   book. Remember that if you reboot the livecd you will need to reconfigure
    26   the host environment before continuing with your build.</para>
     24  tools onto, allowing you to
     25  successfully follow the instructions in this book. Remember that if you
     26  reboot the livecd you will need to reconfigure the host environment before
     27  continuing with your build.</para>
    2728
    2829  <para><xref linkend="chapter-partitioning"/> of this book describes how
     
    5354  <para>After we build our <quote>Cross-Tools</quote>, we start building
    5455  a very minimal working system in
    55   <filename class="directory">/tools</filename>, using the cross-toolchain in
    56   <filename class="directory">/cross-tools</filename>. Once the temporary
    57   system is finished, we perform a few additional tasks to prepare to
    58   enter this temporary build environment, either by booting or chrooting into
    59   it. For more details about the difference between these methods, see
    60   <xref linkend="ch-temp-system-choose"/>.</para>
     56  <filename class="directory">/tools</filename>. This minimal system will be
     57  built using the cross-toolchain in
     58  <filename class="directory">/cross-tools</filename>.</para>
    6159
    62   <para>In <xref linkend="chapter-building-system"/>, after having booted
    63   or chrooted into the temporary build environment, the full CLFS system is
    64   built.</para>
     60  <para>In <xref linkend="chapter-building-system"/>, the full CLFS system is
     61  built. Depending on the system you are cross-compiling for, you will either
     62  boot the minimal temp-system on the target machine, or chroot into it.</para>
    6563
    66   <para>To finish the installation, several configuration files are created in
    67   <xref linkend="chapter-system-config"/>, and the kernel and boot loader are
    68   set up in <xref linkend="chapter-bootable"/>.
    69   <xref linkend="chapter-finalizing"/>
     64  <para>The <command>chroot</command> (change root) program is used to enter
     65  a virtual environment and start a new shell whose root directory will be set
     66  to the CLFS partition. This is very similar to rebooting and instructing the
     67  kernel to mount the CLFS partition as the root partition.
     68  The major advantage is that <quote>chrooting</quote> allows the builder to
     69  continue using the host while CLFS is being built. While waiting for package
     70  compilation to complete, a user can switch to a different virtual console
     71  (VC) or X desktop and continue using the computer as normal.</para>
     72
     73  <para>Some systems cannot be built by chrooting so they must be
     74  booted instead. Generally, if you building for a different arch than
     75  the host system, you must reboot because the kernel will likely not
     76  support the target machine. Booting involves installing a few
     77  additional packages that are needed for bootup, installing
     78  bootscripts, and building a miminal kernel.<!-- We also describe some
     79  alternative booting methods in <xref linkend="ch-boot-whatnext"/> --></para>
     80
     81  <para> To finish the installation, the CLFS-Bootscripts are set up in
     82  <xref linkend="chapter-system-config"/>, and the kernel and boot loader are set
     83  up in <xref linkend="chapter-bootable"/>. <xref linkend="chapter-finalizing"/>
    7084  contains information on furthering the CLFS experience beyond this book.
    7185  After the steps in this book have been implemented, the computer will be
  • BOOK/prologue/common/hostreqs.xml

    r150ed37 rcf479f2  
    7575    </listitem>
    7676
     77   <listitem>
     78     <para><emphasis role="strong">Linux 2.6.32 (Built with GCC 4.1.2 or later)</emphasis></para>
     79   </listitem>
     80
    7781    <listitem>
    7882      <para><emphasis role="strong">Make-3.80</emphasis></para>
     
    127131grep --version | head -n1
    128132gzip --version | head -n1
     133uname -s -r
    129134make --version | head -n1
    130135tic -V
     
    134139makeinfo --version | head -n1
    135140xz --version | head -n1
    136 echo 'main(){}' | gcc -v -o /dev/null -x c - &gt; dummy.log 2>&amp;1
     141echo 'main(){}' | gcc -v -o /dev/null -x c - > dummy.log 2>&amp;1
    137142if ! grep -q ' error' dummy.log; then
    138143  echo "Compilation successful" &amp;&amp; rm dummy.log
  • BOOK/temp-system/common/bison.xml

    r150ed37 rcf479f2  
    2626
    2727<screen os='s2'><userinput>cp -v Makefile.in{,.orig}
    28 sed '/bison.help:/s/^/# /' Makefile.in.orig &gt; Makefile.in</userinput></screen>
     28sed '/bison.help:/s/^/# /' Makefile.in.orig > Makefile.in</userinput></screen>
    2929
    3030    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/temp-system/common/choose.xml

    r150ed37 rcf479f2  
    1616  rest there. Alternatively, you can chroot into the temporary system.</para>
    1717
    18   <para os="b">The <command>chroot</command> (change root) program is used to enter
    19   a virtual environment and start a new shell whose root directory will be set
    20   to the CLFS partition. This is very similar to rebooting and instructing the
    21   kernel to mount the CLFS partition as the root partition.
    22   The major advantage is that <quote>chrooting</quote> allows the builder to
    23   continue using the host while CLFS is being built. While waiting for package
    24   compilation to complete, a user can switch to a different virtual console
    25   (VC) or X desktop and continue using the computer as normal.</para>
    26 
    27   <para os="c">Some systems cannot be built by chrooting so they must be
    28   booted instead. Generally, if you building for a different arch than
    29   the host system, you must reboot because the kernel will likely not
    30   support the target machine. Booting involves installing a few
    31   additional packages that are needed for bootup, installing
    32   boot-scripts, and building a miminal kernel.<!-- We also describe some
    33   alternative booting methods in <xref linkend="ch-boot-whatnext"/> -->
    34   The boot method is needed when you are building on a different
     18  <para os="b">The boot method is needed when you are building on a different
    3519  architecture. For example, if you are building a PowerPC system from
    3620  an x86, you can't chroot. The chroot method is for when you are
     
    4125  wanting to run a different ABI, you will need to use the boot option.</para>
    4226
    43   <para os="d">If you are in any doubt about this, you can try the following
     27  <para os="c">If you are in any doubt about this, you can try the following
    4428 commands to see if you can chroot:</para>
    4529
    46 <screen os="e"><userinput>/tools/lib/libc.so.6
     30<screen ><userinput>/tools/lib/libc.so.6
    4731/tools/bin/gcc -v</userinput></screen>
    4832
    49   <para os="f">If either of these commands fail, you will have to follow the boot
     33  <para>If either of these commands fail, you will have to follow the boot
    5034  method.</para>
    5135
    52   <para os="g">To chroot, you will also need a Linux Kernel-2.6.32 or greater
     36  <para>To chroot, you will also need a Linux Kernel-2.6.32 or greater
    5337  (having been compiled with GCC-4.1.2 or greater). The reason for the
    5438  kernel version requirement is that Glibc is built to generate the library
    5539  for the smallest version of the Linux kernel expected to be supported.</para>
    5640
    57   <para os="h">To check your kernel version, run <command>cat /proc/version</command>
     41  <para>To check your kernel version, run <command>cat /proc/version</command>
    5842  - if it does not say that you are running a 2.6.32 or later Linux kernel,
    5943  compiled with GCC 4.1.2 or later, you cannot chroot.</para>
    6044
    61   <para os="i">For the boot method, follow <xref linkend="chapter-boot"/>.</para>
     45  <para os="e">For the boot method, follow <xref linkend="chapter-boot"/>.</para>
    6246
    63   <para os="j">For the chroot method, follow <xref linkend="chapter-chroot"/>.</para>
     47  <para os="f">For the chroot method, follow <xref linkend="chapter-chroot"/>.</para>
    6448
    6549</sect1>
  • BOOK/temp-system/common/gcc.xml

    r150ed37 rcf479f2  
    9797<screen os="s2"><userinput>cp -v Makefile{,.orig}
    9898sed "/^HOST_\(GMP\|ISL\|CLOOG\)\(LIBS\|INC\)/s:/tools:/cross-tools:g" \
    99     Makefile.orig &gt; Makefile</userinput></screen>
     99    Makefile.orig > Makefile</userinput></screen>
    100100
    101101    <para os="cm">Compile the package:</para>
  • BOOK/temp-system/common/vim.xml

    r150ed37 rcf479f2  
    124124<screen os="m"><userinput>ln -sv vim /tools/bin/vi</userinput></screen>
    125125
    126     <para os="tv1">Create a temporary vimrc to make it function more the way you may
     126    <para os="tv1" >Create a temporary vimrc to make it function more the way you may
    127127    expect it to. This is explained more in the final system:</para>
    128128
  • BOOK/temp-system/mips64/choose.xml

    r150ed37 rcf479f2  
    2323    xpointer="xpointer(//*[@os='c'])"/>
    2424
    25     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    26     href="../common/choose.xml"
    27     xpointer="xpointer(//*[@os='d'])"/>
    28 
    29 <screen os="e"><userinput>/tools/lib/libc.so.6
     25<screen ><userinput>/tools/lib/libc.so.6
    3026/tools/lib32/libc.so.6
    3127/tools/lib64/libc.so.6
     
    3430    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    3531    href="../multilib/choose.xml"
    36     xpointer="xpointer(//*[@os='f'])"/>
     32    xpointer="xpointer(//*[@os='d'])"/>
     33
     34  <para>To chroot, you will also need a Linux Kernel-2.6.32 or greater (having been compiled with GCC-4.1.2 or greater). The reason for the kernel version requirement is that Glibc is built to generate the library for the smallest version of the Linux kernel expected to be supported.</para>
     35
     36  <para>To check your kernel version, run <command>cat /proc/version</command> - if it does not say that you are running a 2.6.32 or later Linux kernel, compiled with GCC 4.1.2 or later, you cannot chroot.</para>
    3737
    3838    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    3939    href="../common/choose.xml"
    40     xpointer="xpointer(//*[@os='g'])"/>
     40    xpointer="xpointer(//*[@os='e'])"/>
    4141
    4242    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    4343    href="../common/choose.xml"
    44     xpointer="xpointer(//*[@os='h'])"/>
    45 
    46     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    47     href="../common/choose.xml"
    48     xpointer="xpointer(//*[@os='i'])"/>
    49 
    50     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    51     href="../common/choose.xml"
    52     xpointer="xpointer(//*[@os='j'])"/>
     44    xpointer="xpointer(//*[@os='f'])"/>
    5345
    5446</sect1>
  • BOOK/temp-system/multilib/choose.xml

    r150ed37 rcf479f2  
    2323    xpointer="xpointer(//*[@os='c'])"/>
    2424
    25     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    26     href="../common/choose.xml"
    27     xpointer="xpointer(//*[@os='d'])"/>
    28 
    29 <screen os="e"><userinput>/tools/lib/libc.so.6
     25<screen ><userinput>/tools/lib/libc.so.6
    3026/tools/lib64/libc.so.6
    3127/tools/bin/gcc -v</userinput></screen>
    3228
    33   <para os="f">If any of these commands fail, you will have to follow the boot
     29  <para os="d">If any of these commands fail, you will have to follow the boot
    3430  method.</para>
     31
     32  <para>To chroot, you will also need a Linux Kernel-2.6.32 or greater
     33  (having been compiled with GCC-4.1.2 or greater). The reason for the
     34  kernel version requirement is that Glibc is built to generate the library
     35  for the smallest version of the Linux kernel expected to be supported.</para>
     36
     37  <para>To check your kernel version, run <command>cat /proc/version</command>
     38  - if it does not say that you are running a 2.6.32 or later Linux kernel,
     39  compiled with GCC 4.1.2 or later, you cannot chroot.</para>
    3540
    3641    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    3742    href="../common/choose.xml"
    38     xpointer="xpointer(//*[@os='g'])"/>
     43    xpointer="xpointer(//*[@os='e'])"/>
    3944
    4045    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    4146    href="../common/choose.xml"
    42     xpointer="xpointer(//*[@os='h'])"/>
    43 
    44     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    45     href="../common/choose.xml"
    46     xpointer="xpointer(//*[@os='i'])"/>
    47 
    48     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    49     href="../common/choose.xml"
    50     xpointer="xpointer(//*[@os='j'])"/>
     47    xpointer="xpointer(//*[@os='f'])"/>
    5148
    5249</sect1>
  • BOOK/temp-system/ppc64-chapter.xml

    r150ed37 rcf479f2  
    4141  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/vim.xml"/>
    4242  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/xz.xml"/>
    43   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/choose.xml"/>
     43  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/choose.xml"/>
    4444
    4545</chapter>
  • BOOK/temp-system/ppc64/choose.xml

    r150ed37 rcf479f2  
    1919    xpointer="xpointer(//*[@os='b'])"/>
    2020
    21     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    22     href="../common/choose.xml"
    23     xpointer="xpointer(//*[@os='c'])"/>
    24 
    2521  <para>Powerpc64 is slightly different from some of the other
    2622  architectures, because a 64-bit kernel running 32-bit userspace can
     
    4036    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    4137    href="../common/choose.xml"
    42     xpointer="xpointer(//*[@os='i'])"/>
     38    xpointer="xpointer(//*[@os='e'])"/>
    4339
    4440    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    4541    href="../common/choose.xml"
    46     xpointer="xpointer(//*[@os='j'])"/>
     42    xpointer="xpointer(//*[@os='f'])"/>
    4743
    4844</sect1>
  • BOOK/the-end/downloadclient.xml

    r150ed37 rcf479f2  
    5858  NetService = "/inet/tcp/0/mirror.anl.gov/80"
    5959  print "GET /pub/gnu/wget/wget-1.14.tar.xz" |&amp; NetService
    60   while ((NetService |&amp; getline) &gt; 0)
     60  while ((NetService |&amp; getline) > 0)
    6161    print $0
    6262  close(NetService)
    63 }' &gt; binary
     63}' > binary
    6464
    6565gawk '{q=p;p=$0}NR&gt;1{print q}END{ORS = ""; print p}' binary &gt; wget-1.14.tar.xz
Note: See TracChangeset for help on using the changeset viewer.