Changeset 229ed25


Ignore:
Timestamp:
Jan 4, 2014, 12:03:38 AM (9 years ago)
Author:
Chris Staub <chris@…>
Branches:
clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
f90d077
Parents:
ec008670 (diff), e57ce38 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' into systemd

Conflicts:

BOOK/appendices/dependencies/common.xml
BOOK/boot/common/devices.xml
BOOK/boot/common/pwdgroup.xml
BOOK/boot/ppc64-64/powerpc-utils.xml
BOOK/boot/ppc64/util-linux-32.xml
BOOK/bootscripts/common/bootscripts.xml
BOOK/final-system/alpha-chapter.xml
BOOK/final-system/common/coreutils.xml
BOOK/final-system/common/eudev.xml
BOOK/final-system/common/kbd.xml
BOOK/final-system/mips-chapter.xml
BOOK/final-system/mips64-64-chapter.xml
BOOK/final-system/mips64-chapter.xml
BOOK/final-system/multilib/udev-64bit.xml
BOOK/final-system/multilib/util-linux.xml
BOOK/final-system/ppc-chapter.xml
BOOK/final-system/ppc64-chapter.xml
BOOK/final-system/sparc-chapter.xml
BOOK/final-system/sparc64-64-chapter.xml
BOOK/final-system/sparc64-chapter.xml
BOOK/final-system/x86-chapter.xml
BOOK/final-system/x86_64-64-chapter.xml
BOOK/final-system/x86_64-chapter.xml
BOOK/introduction/common/changelog.xml
BOOK/materials/common/packages.xml
BOOK/packages.ent

Files:
83 added
28 deleted
403 edited
29 moved

Legend:

Unmodified
Added
Removed
  • BOOK/Makefile

    rec008670 r229ed25  
    2121                   sparc sparc64 sparc64-64 \
    2222                   mips mips64 mips64-64 \
    23                    ppc ppc64 \
     23                   ppc ppc64 ppc64-64 \
    2424                   alpha
    2525
     
    198198          $(TOP)/$(arch)-index.xml
    199199
     200ARCHS_MD5LIST := $(ARCHS:%=%-md5list)
     201.PHONY: md5-list $(ARCHS_MD5LIST)
     202md5-list: $(ARCHS_MD5LIST)
     203$(ARCHS_MD5LIST): override arch = $(@:%-md5list=%)
     204$(ARCHS_MD5LIST):
     205        @echo "Creating md5 hash list for $(arch)..."
     206        $(Q)mkdir -p $(DLLISTDIR)
     207        $(Q)xsltproc --xinclude --nonet \
     208          --output $(DLLISTDIR)/$(arch).md5sum \
     209          $(TOP)/stylesheets/md5sum.xsl \
     210          $(TOP)/$(arch)-index.xml
     211       
    200212FG_GREEN := $(shell echo -e '\e[0;32m')
    201213FG_BLUE := $(shell echo -e '\e[0;34m')
     
    227239        @echo "Download-List Targets"
    228240        @echo "  $(FG_GREEN)download-list $(FG_BLUE)$(ARCHS_DLLIST)$(FG_DEFAULT)"
     241        @echo "md5-List Targets"
     242        @echo "  $(FG_GREEN)md5-list $(FG_BLUE)$(ARCHS_MD5LIST)$(FG_DEFAULT)"
  • BOOK/alpha-index.xml

    rec008670 r229ed25  
    7676    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="appendices/dependencies/common.xml"/>
    7777    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="appendices/dependencies/alpha.xml"/>
     78    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="appendices/rationale/common.xml"/>
    7879    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="appendices/license.xml"/>
    7980
  • BOOK/appendices/acronymlist.xml

    rec008670 r229ed25  
    2424
    2525    <varlistentry>
    26       <term><emphasis role="bold">ALFS</emphasis></term>
    27       <listitem>
    28         <para>Automated Linux From Scratch</para>
    29       </listitem>
    30     </varlistentry>
    31 
    32     <varlistentry>
    3326      <term><emphasis role="bold">ALSA</emphasis></term>
    3427      <listitem>
     
    7366
    7467    <varlistentry>
    75       <term><emphasis role="bold">BLFS</emphasis></term>
    76       <listitem>
    77         <para>Beyond Linux From Scratch</para>
    78       </listitem>
    79     </varlistentry>
    80 
    81     <varlistentry>
    8268      <term><emphasis role="bold">BSD</emphasis></term>
    8369      <listitem>
     
    8773
    8874    <varlistentry>
     75      <term><emphasis role="bold">CBLFS</emphasis></term>
     76      <listitem>
     77        <para>Community Driven Beyond Linux From Scratch</para>
     78      </listitem>
     79    </varlistentry>
     80
     81    <varlistentry>
    8982      <term><emphasis role="bold">chroot</emphasis></term>
    9083      <listitem>
     
    171164
    172165    <varlistentry>
    173       <term><emphasis role="bold">EVMS</emphasis></term>
    174       <listitem>
    175         <para>Enterprise Volume Management System</para>
    176       </listitem>
    177     </varlistentry>
    178 
    179     <varlistentry>
    180166      <term><emphasis role="bold">ext2</emphasis></term>
    181167      <listitem>
     
    388374
    389375    <varlistentry>
    390       <term><emphasis role="bold">NNTP</emphasis></term>
    391       <listitem>
    392         <para>Network News Transport Protocol</para>
    393       </listitem>
    394     </varlistentry>
    395 
    396     <varlistentry>
    397376      <term><emphasis role="bold">NPTL</emphasis></term>
    398377      <listitem>
     
    423402
    424403    <varlistentry>
    425       <term><emphasis role="bold">PCRE</emphasis></term>
    426       <listitem>
    427         <para>Perl Compatible Regular Expression</para>
    428       </listitem>
    429     </varlistentry>
    430 
    431     <varlistentry>
    432404      <term><emphasis role="bold">PID</emphasis></term>
    433405      <listitem>
     
    507479
    508480    <varlistentry>
    509       <term><emphasis role="bold">SMP</emphasis></term>
    510       <listitem>
    511         <para>Symmetric Multi-Processor</para>
    512       </listitem>
    513     </varlistentry>
    514 
    515     <varlistentry>
    516481      <term><emphasis role="bold">TLDP</emphasis></term>
    517482      <listitem>
  • BOOK/appendices/dependencies/common.xml

    rec008670 r229ed25  
    144144      </segmentedlist>
    145145
     146<!-- Begin Bc dependency info -->
     147  <bridgehead renderas="sect2" id="bc-dep">Bc</bridgehead>
     148
     149      <segmentedlist>
     150        <segtitle>&dependencies;</segtitle>
     151
     152        <seglistitem>
     153          <seg>Bash, Binutils, Bison, Coreutils, EGLIBC, GCC, Grep, Make,
     154          and Readline</seg>
     155        </seglistitem>
     156      </segmentedlist>
     157
     158      <segmentedlist>
     159        <segtitle>&testsuites;</segtitle>
     160
     161        <seglistitem>
     162          <seg>Gawk</seg>
     163        </seglistitem>
     164      </segmentedlist>
     165
     166      <segmentedlist>
     167        <segtitle>&before;</segtitle>
     168
     169        <seglistitem>
     170          <seg>None</seg>
     171        </seglistitem>
     172      </segmentedlist>
     173
    146174<!-- Begin Binutils dependency info -->
    147175  <bridgehead renderas="sect2" id="binutils-dep">Binutils</bridgehead>
     
    254282      </segmentedlist>
    255283
     284<!-- Begin Check dependency info -->
     285  <bridgehead renderas="sect2" id="check-dep">Check</bridgehead>
     286
     287      <segmentedlist>
     288        <segtitle>&dependencies;</segtitle>
     289
     290        <seglistitem>
     291         <seg>GCC, Grep, Make, Sed and Texinfo</seg>
     292        </seglistitem>
     293      </segmentedlist>
     294
     295      <segmentedlist>
     296        <segtitle>&testsuites;</segtitle>
     297
     298        <seglistitem>
     299          <seg>None</seg>
     300        </seglistitem>
     301      </segmentedlist>
     302
     303      <segmentedlist>
     304        <segtitle>&before;</segtitle>
     305
     306        <seglistitem>
     307          <seg>None</seg>
     308        </seglistitem>
     309      </segmentedlist>
     310
     311<!-- Begin CLooG-ISL dependency info -->
     312  <bridgehead renderas="sect2" id="cloog-isl-dep">CLooG-ISL</bridgehead>
     313
     314      <segmentedlist>
     315        <segtitle>&dependencies;</segtitle>
     316
     317        <seglistitem>
     318         <seg>Bash, Binutils, Coreutils, Diffutils, EGLIBC, Gawk, GCC, Grep, GMP,
     319         Make, MPC, MPFR, Sed and Texinfo</seg>
     320        </seglistitem>
     321      </segmentedlist>
     322
     323      <segmentedlist>
     324        <segtitle>&testsuites;</segtitle>
     325
     326        <seglistitem>
     327          <seg>None</seg>
     328        </seglistitem>
     329      </segmentedlist>
     330
     331      <segmentedlist>
     332        <segtitle>&before;</segtitle>
     333
     334        <seglistitem>
     335          <seg>GCC</seg>
     336        </seglistitem>
     337      </segmentedlist>
     338
    256339<!-- Begin Coreutils dependency info -->
    257340  <bridgehead renderas="sect2" id="coreutils-dep">Coreutils</bridgehead>
     
    278361
    279362        <seglistitem>
    280           <seg>Bash, Diffutils, Findutils, Man and Udev</seg>
     363          <seg>Bash, Diffutils, Findutils, Man and Eudev</seg>
    281364        </seglistitem>
    282365      </segmentedlist>
     
    484567        <seglistitem>
    485568         <seg>Bash, Binutils, Coreutils, EGLIBC, Gawk, GCC, Gettext, Grep, Gzip,
    486          Make, Pkg-config, Sed, Texinfo and Util-linux</seg>
     569         Make, Pkg-config-lite, Sed, Texinfo and Util-linux</seg>
    487570        </seglistitem>
    488571      </segmentedlist>
     
    622705
    623706        <seglistitem>
    624          <seg>Bash, Binutils, Coreutils, Diffutils, EGLIBC, Findutils, Gawk,
    625          GCC, GMP, Grep, Make, MPFR, Patch, Perl, Sed, Tar and Texinfo</seg>
    626         </seglistitem>
    627       </segmentedlist>
    628 
    629       <segmentedlist>
    630         <segtitle>&testsuites;</segtitle>
    631 
    632         <seglistitem>
    633           <seg>DejaGNU and Expect</seg>
     707         <seg>Bash, Binutils, CLooG-ISL, Coreutils, Diffutils, EGLIBC,
     708         Findutils, Gawk, GCC, GMP, Grep, ISL, Make, MPFR, Patch, Perl, Sed,
     709         Tar and Texinfo</seg>
     710        </seglistitem>
     711      </segmentedlist>
     712
     713      <segmentedlist>
     714        <segtitle>&testsuites;</segtitle>
     715
     716        <seglistitem>
     717          <seg>Check, DejaGNU, and Expect</seg>
    634718        </seglistitem>
    635719      </segmentedlist>
     
    671755      </segmentedlist>
    672756
     757<!-- Begin Glib dependency info -->
     758  <bridgehead renderas="sect2" id="glib-dep">Glib</bridgehead>
     759
     760      <segmentedlist>
     761        <segtitle>&dependencies;</segtitle>
     762
     763        <seglistitem>
     764         <seg>bash, binutils, coreutils, gawk, gcc, gettext, make &amp; M4.</seg>
     765        </seglistitem>
     766      </segmentedlist>
     767
     768      <segmentedlist>
     769        <segtitle>&testsuites;</segtitle>
     770
     771        <seglistitem>
     772          <seg>Unknown</seg>
     773        </seglistitem>
     774      </segmentedlist>
     775
     776      <segmentedlist>
     777        <segtitle>&before;</segtitle>
     778
     779        <seglistitem>
     780          <seg>Pkg-config-lite</seg>
     781        </seglistitem>
     782      </segmentedlist>
     783
    673784<!-- Begin GMP dependency info -->
    674785  <bridgehead renderas="sect2" id="gmp-dep">GMP</bridgehead>
     
    865976      </segmentedlist>
    866977
     978<!-- Begin ISL dependency info -->
     979  <bridgehead renderas="sect2" id="isl-dep">ISL</bridgehead>
     980
     981      <segmentedlist>
     982        <segtitle>&dependencies;</segtitle>
     983
     984        <seglistitem>
     985         <seg>Bash, Binutils, Coreutils, Diffutils, EGLIBC, Gawk, GCC, Grep,
     986         GMP, Make, MPC, MPFR, Sed and Texinfo</seg>
     987        </seglistitem>
     988      </segmentedlist>
     989
     990      <segmentedlist>
     991        <segtitle>&testsuites;</segtitle>
     992
     993        <seglistitem>
     994          <seg>None</seg>
     995        </seglistitem>
     996      </segmentedlist>
     997
     998      <segmentedlist>
     999        <segtitle>&before;</segtitle>
     1000
     1001        <seglistitem>
     1002          <seg>GCC</seg>
     1003        </seglistitem>
     1004      </segmentedlist>
     1005
    8671006<!-- Begin Kbd dependency info -->
    8681007  <bridgehead renderas="sect2" id="kbd-dep">Kbd</bridgehead>
     
    8721011
    8731012        <seglistitem>
    874          <seg>Bash, Binutils, Coreutils, EGLIBC, Gawk, GCC, Gzip, Make and Sed</seg>
    875         </seglistitem>
    876       </segmentedlist>
    877 
    878       <segmentedlist>
    879         <segtitle>&testsuites;</segtitle>
    880 
    881         <seglistitem>
    882           <seg>No testsuite available</seg>
    883         </seglistitem>
    884       </segmentedlist>
    885 
    886       <segmentedlist>
    887         <segtitle>&before;</segtitle>
    888 
    889         <seglistitem>
    890           <seg>None</seg>
     1013         <seg>Bash, Binutils, Coreutils, EGLIBC, Gawk, GCC, Gzip, Make, and
     1014         Check</seg>
     1015        </seglistitem>
     1016      </segmentedlist>
     1017
     1018      <segmentedlist>
     1019        <segtitle>&testsuites;</segtitle>
     1020
     1021        <seglistitem>
     1022          <seg>No testsuite available</seg>
     1023        </seglistitem>
     1024      </segmentedlist>
     1025
     1026      <segmentedlist>
     1027        <segtitle>&before;</segtitle>
     1028
     1029        <seglistitem>
     1030          <seg>None</seg>
     1031        </seglistitem>
     1032      </segmentedlist>
     1033
     1034<!-- Begin KMOD dependency info -->
     1035  <bridgehead renderas="sect2" id="kmod-dep">KMOD</bridgehead>
     1036
     1037      <segmentedlist>
     1038        <segtitle>&dependencies;</segtitle>
     1039
     1040        <seglistitem>
     1041         <seg>Bash, Binutils, Bison, Coreutils, EGLIBC, Flex, Gawk, GCC,
     1042         Gettext, Gzip, Make, Pkg-config-lite, Sed, XZ-Utils, and Zlib.
     1043         </seg>
     1044        </seglistitem>
     1045      </segmentedlist>
     1046
     1047      <segmentedlist>
     1048        <segtitle>&testsuites;</segtitle>
     1049
     1050        <seglistitem>
     1051          <seg>No testsuite available</seg>
     1052        </seglistitem>
     1053      </segmentedlist>
     1054
     1055      <segmentedlist>
     1056        <segtitle>&before;</segtitle>
     1057
     1058        <seglistitem>
     1059          <seg>Eudev</seg>
    8911060        </seglistitem>
    8921061      </segmentedlist>
     
    9551124        <seglistitem>
    9561125         <seg>Bash, Binutils, Coreutils, Diffutils, EGLIBC, Findutils, Gawk,
    957          GCC, Grep, Libestr, Make, Pkg-config, Sed and Texinfo</seg>
     1126         GCC, Grep, Libestr, Make, Pkg-config-lite, Sed and Texinfo</seg>
    9581127        </seglistitem>
    9591128      </segmentedlist>
     
    10661235        <seglistitem>
    10671236         <seg>Bash, Binutils, Coreutils, Diffutils, EGLIBC, Findutils, GCC, Grep,
    1068          Gzip, Make, Module-Init-Tools, Ncurses, Perl and Sed</seg>
     1237         Gzip, Make, KMOD, Ncurses, Perl and Sed</seg>
    10691238        </seglistitem>
    10701239      </segmentedlist>
     
    11981367
    11991368<!-- Begin MPC dependency info -->
    1200   <bridgehead renderas="sect2" id="mpc-dep">MPFR</bridgehead>
     1369  <bridgehead renderas="sect2" id="mpc-dep">MPC</bridgehead>
    12011370
    12021371      <segmentedlist>
     
    12531422      </segmentedlist>
    12541423
    1255 <!-- Begin Module-Init-Tools dependency info -->
    1256   <bridgehead renderas="sect2" id="module-init-tools-dep">Module-Init-Tools</bridgehead>
     1424<!-- Begin KMOD dependency info -->
     1425  <bridgehead renderas="sect2" id="module-init-tools-dep">KMOD</bridgehead>
    12571426
    12581427      <segmentedlist>
     
    13651534      </segmentedlist>
    13661535
    1367 <!-- Begin Pkg-config dependency info -->
    1368   <bridgehead renderas="sect2" id="pkg-config-dep">Pkg-config</bridgehead>
     1536<!-- Begin Pkg-config-lite dependency info -->
     1537  <bridgehead renderas="sect2" id="pkg-config-lite-dep">Pkg-config-lite</bridgehead>
    13691538
    13701539      <segmentedlist>
     
    16991868      </segmentedlist>
    17001869
    1701 <!-- Begin Udev dependency info -->
    1702   <bridgehead renderas="sect2" id="udev-dep">Udev</bridgehead>
     1870<!-- Begin Eudev dependency info -->
     1871  <bridgehead renderas="sect2" id="udev-dep">Eudev</bridgehead>
    17031872
    17041873      <segmentedlist>
     
    17351904        <seglistitem>
    17361905         <seg>Bash, Binutils, Coreutils, EGLIBC, GCC, Grep,
    1737          Make, Ncurses, Pkg-config, Sed, Texinfo and Zlib</seg>
     1906         Make, Ncurses, Pkg-config-lite, Sed, Texinfo and Zlib</seg>
    17381907        </seglistitem>
    17391908      </segmentedlist>
     
    18342003
    18352004        <seglistitem>
    1836           <seg>Binutils, File, Module-Init-Tools and Util-linux</seg>
     2005          <seg>File, KMOD and Util-linux</seg>
    18372006        </seglistitem>
    18382007      </segmentedlist>
  • BOOK/appendices/dependencies/x86.xml

    rec008670 r229ed25  
    1414  <para>This page contains dependency information for packages specific to x86.</para>
    1515
    16 <!-- Begin GRUB dependency info -->
    17   <bridgehead renderas="sect2" id="grub-dep">GRUB</bridgehead>
     16<!-- Begin GRUB2 dependency info -->
     17  <bridgehead renderas="sect2" id="grub2-dep">GRUB2</bridgehead>
    1818
    1919      <segmentedlist>
     
    2121
    2222        <seglistitem>
    23          <seg>Bash, Binutils, Coreutils, Diffutils, EGLIBC, GCC, Grep, Make,
    24          Ncurses, Sed and Texinfo</seg>
     23         <seg>Bash, Binutils, Bison Coreutils, Diffutils, EGLIBC, Gawk, GCC, Gettext,
     24         Grep, Make, Ncurses, Sed and Texinfo</seg>
    2525        </seglistitem>
    2626      </segmentedlist>
  • BOOK/boot/64/createfiles.xml

    rec008670 r229ed25  
    1818  the next chapter after the software has been installed.</para>
    1919
    20 <screen><userinput>ln -sv /tools/bin/{bash,cat,echo,grep,pwd,sleep,stty} ${CLFS}/bin
     20<screen><userinput>ln -sv /tools/bin/{bash,cat,echo,grep,login,passwd,pwd,sleep,stty} ${CLFS}/bin
    2121ln -sv /tools/bin/file ${CLFS}/usr/bin
     22ln -sv /tools/sbin/{agetty,blkid} ${CLFS}/sbin
    2223ln -sv /tools/lib/libgcc_s.so{,.1} ${CLFS}/usr/lib
    2324ln -sv /tools/lib/libstd*so* ${CLFS}/usr/lib
    24 ln -sv bash ${CLFS}/bin/sh</userinput></screen>
     25ln -sv bash ${CLFS}/bin/sh
     26ln -sv ../run ${CLFS}/var/run</userinput></screen>
    2527
    2628  <para os="b">To enable some c++ tests in the Glibc and Binutils testsuites
  • BOOK/boot/64/grub-build.xml

    rec008670 r229ed25  
    66]>
    77
    8 <sect1 id="ch-temp-system-ppl" role="wrap">
    9   <?dbhtml filename="ppl.html"?>
     8<sect1 id="ch-boot-grub-build" role="wrap">
     9  <?dbhtml filename="grub-build.html"?>
    1010
    11   <title>PPL-&ppl-version;</title>
     11  <title>GRUB-&grub-version;</title>
    1212
    13   <indexterm zone="ch-temp-system-ppl">
    14     <primary sortas="a-PPL">PPL</primary>
    15     <secondary>temporary system</secondary>
     13  <indexterm zone="ch-boot-grub-build">
     14    <primary sortas="a-GRUB">GRUB</primary>
     15    <secondary>boot</secondary>
    1616  </indexterm>
    1717
    1818  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    19   href="../../final-system/common/ppl.xml"
     19  href="../../final-system/x86/grub.xml"
    2020  xpointer="xpointer(//*[@role='package'])"/>
    2121
    2222  <sect2 role="installation">
    23     <title>Installation of PPL</title>
     23    <title>Installation of GRUB</title>
    2424
    2525    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    26     href="../common/ppl.xml"
     26    href="../../final-system/x86/grub.xml"
     27    xpointer="xpointer(//*[@os='n1'])"/>
     28
     29    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     30    href="../../final-system/x86/grub.xml"
     31    xpointer="xpointer(//*[@os='s1'])"/>
     32
     33    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     34    href="../../final-system/x86/grub.xml"
     35    xpointer="xpointer(//*[@os='s2'])"/>
     36
     37    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     38    href="../../final-system/x86/grub.xml"
    2739    xpointer="xpointer(//*[@os='a'])"/>
    2840
    29 <screen os="b"><userinput>CC="${CC} ${BUILD64}" ./configure --prefix=/tools \
     41<screen os="ab"><userinput>CC="${CC} ${BUILD64}" ./configure --prefix=/tools \
    3042    --build=${CLFS_HOST} --host=${CLFS_TARGET} \
    31     --enable-interfaces="c,cxx" --enable-shared \
    32     --disable-optimization --with-libgmp-prefix=/tools \
    33     --with-libgmpxx-prefix=/tools</userinput></screen>
     43    --sysconfdir=/etc --libdir=/tools/lib64 --disable-werror</userinput></screen>
    3444
    3545    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    36     href="../common/ppl.xml"
    37     xpointer="xpointer(//*[@os='bp1'])"/>
    38 
    39     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    40     href="../common/ppl.xml"
    41     xpointer="xpointer(//*[@os='bp2'])"/>
    42 
    43     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    44     href="../common/ppl.xml"
     46    href="../../final-system/x86/grub.xml"
    4547    xpointer="xpointer(//*[@os='c'])"/>
    4648
    4749    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    48     href="../common/ppl.xml"
     50    href="../../final-system/x86/grub.xml"
    4951    xpointer="xpointer(//*[@os='d'])"/>
    50        
    51     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    52     href="../common/ppl.xml"
    53     xpointer="xpointer(//*[@os='e'])"/>
    5452
    5553    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    56     href="../common/ppl.xml"
     54    href="../../final-system/x86/grub.xml"
    5755    xpointer="xpointer(//*[@os='f'])"/>
     56
     57<screen os="ag"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
    5858
    5959  </sect2>
     
    6363
    6464    <para>Details on this package are located in <xref
    65     linkend="contents-ppl" role="."/></para>
     65    linkend="contents-grub" role="."/></para>
    6666
    6767  </sect2>
  • BOOK/boot/64/util-linux.xml

    rec008670 r229ed25  
    2222  <sect2 role="installation">
    2323    <title>Installation of Util-linux</title>
    24 
     24   
    2525    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    2626    href="../common/util-linux.xml"
    2727    xpointer="xpointer(//*[@os='a'])"/>
    2828
    29 <screen os="be"><userinput>CC="${CC} ${BUILD64}" PKG_CONFIG=true \
     29<screen os="be"><userinput>CC="${CC} ${BUILD64}" PKG_CONFIG= \
    3030  ./configure --prefix=/tools --exec-prefix=/tools \
    3131    --build=${CLFS_HOST} --host=${CLFS_TARGET} \
    32     --enable-login-utils --disable-makeinstall-chown</userinput></screen>
     32    --disable-makeinstall-chown --disable-login --disable-su</userinput></screen>
    3333
    3434    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/boot/alpha-chapter.xml

    rec008670 r229ed25  
    1616  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/createfiles.xml"/>
    1717  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/util-linux.xml"/>
    18   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/e2fsprogs.xml"/>
     18  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/shadow.xml"/>
     19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/e2fsprogs.xml"/>
    1920  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/sysvinit.xml"/>
    20   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/module-init-tools.xml"/>
    21   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/udev.xml"/>
     21  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/kmod.xml"/>
     22  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/>
    2223  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/>
    2324  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="alpha/kernel.xml"/>
  • BOOK/boot/alpha/kernel.xml

    rec008670 r229ed25  
    8383
    8484    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     85    href="../../bootable/x86/kernel.xml"
     86    xpointer="xpointer(//*[@os='s2'])"/>
     87
     88<screen><userinput>make ARCH=alpha CROSS_COMPILE=${CLFS_TARGET}- \
     89   INSTALL_FW_PATH=${CLFS}/lib/firmware firmware_install</userinput></screen>
     90
     91    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    8592    href="../x86/kernel.xml"
    8693    xpointer="xpointer(//*[@os='u'])"/>
  • BOOK/boot/common/createfiles.xml

    rec008670 r229ed25  
    1616  the next chapter after the software has been installed.</para>
    1717
    18 <screen><userinput>ln -sv /tools/bin/{bash,cat,echo,grep,pwd,sleep,stty} ${CLFS}/bin
     18<screen><userinput>ln -sv /tools/bin/{bash,cat,echo,grep,login,passwd,pwd,sleep,stty} ${CLFS}/bin
     19ln -sv /tools/sbin/{agetty,blkid} ${CLFS}/sbin
    1920ln -sv /tools/bin/file ${CLFS}/usr/bin
    2021ln -sv /tools/lib/libgcc_s.so{,.1} ${CLFS}/usr/lib
    2122ln -sv /tools/lib/libstd*so* ${CLFS}/usr/lib
    22 ln -sv bash ${CLFS}/bin/sh</userinput></screen>
     23ln -sv bash ${CLFS}/bin/sh
     24ln -sv /run ${CLFS}/var/run</userinput></screen>
    2325
    2426</sect1>
  • BOOK/boot/common/creatingdirs.xml

    rec008670 r229ed25  
    1515
    1616<screen os="b"><userinput>mkdir -pv ${CLFS}/{bin,boot,dev,{etc/,}opt,home,lib,mnt}
    17 mkdir -pv ${CLFS}/{proc,media/{floppy,cdrom},sbin,srv,sys}
    18 mkdir -pv ${CLFS}/var/{lock,log,mail,run,spool}
     17mkdir -pv ${CLFS}/{proc,media/{floppy,cdrom},run/{,shm},sbin,srv,sys}
     18mkdir -pv ${CLFS}/var/{lock,log,mail,spool}
    1919mkdir -pv ${CLFS}/var/{opt,cache,lib/{misc,locate},local}
    2020install -dv -m 0750 ${CLFS}/root
  • BOOK/boot/common/devices.xml

    rec008670 r229ed25  
    2020    <note os="a">
    2121      <para>The commands in the remainder of the book should be run as
    22       the <systemitem class="username">root</systemitem> user. Also,
    23       double-check that ${CLFS} is set as
    24       <systemitem class="username">root</systemitem>.</para>
     22      the <systemitem class="username">root</systemitem> user. Check
     23      that ${CLFS} is set in the
     24      <systemitem class="username">root</systemitem> user&rsquo;s environment
     25       before proceeding.</para>
    2526    </note>
    2627
  • BOOK/boot/common/fstab.xml

    rec008670 r229ed25  
    3232devpts         /dev/pts     devpts gid=&gid-tty;,mode=620   0     0
    3333shm            /dev/shm     tmpfs  defaults         0     0
     34tmpfs          /run         tmpfs  defaults         0     0
     35devtmpfs       /dev         devtmpfs mode=0755,nosuid 0     0
     36
    3437# End /etc/fstab</literal>
    3538EOF</userinput></screen>
  • BOOK/boot/common/pwdgroup.xml

    rec008670 r229ed25  
    192192
    193193  <para os="e">The created groups are not part of any standard&mdash;they are
    194   groups decided on in part by the requirements of the Udev configuration
     194  groups decided on in part by the requirements of the Eudev configuration
    195195  in the final system, and in part by common convention employed by a
    196196  number of existing Linux distributions. The Linux Standard Base (LSB,
  • BOOK/boot/common/sysvinit.xml

    rec008670 r229ed25  
    2424
    2525    <para os="aa">The following modifications help locate files specific to this
    26     perticular build:</para>
     26    particular build:</para>
    2727
    2828<screen os="ab"><userinput>cp -v src/Makefile{,.orig}
     
    8686
    8787<screen><userinput>cat &gt;&gt; ${CLFS}/etc/inittab &lt;&lt; "EOF"
    88 <literal>1:2345:respawn:/sbin/agetty -I '\033(K' tty1 9600
    89 2:2345:respawn:/sbin/agetty -I '\033(K' tty2 9600
    90 3:2345:respawn:/sbin/agetty -I '\033(K' tty3 9600
    91 4:2345:respawn:/sbin/agetty -I '\033(K' tty4 9600
    92 5:2345:respawn:/sbin/agetty -I '\033(K' tty5 9600
    93 6:2345:respawn:/sbin/agetty -I '\033(K' tty6 9600
     88<literal>1:2345:respawn:/sbin/agetty --noclear -I '\033(K' tty1 9600
     892:2345:respawn:/sbin/agetty --noclear -I '\033(K' tty2 9600
     903:2345:respawn:/sbin/agetty --noclear -I '\033(K' tty3 9600
     914:2345:respawn:/sbin/agetty --noclear -I '\033(K' tty4 9600
     925:2345:respawn:/sbin/agetty --noclear -I '\033(K' tty5 9600
     936:2345:respawn:/sbin/agetty --noclear -I '\033(K' tty6 9600
    9494</literal>
    9595EOF</userinput></screen>
     
    9999
    100100<screen><userinput>cat &gt;&gt; ${CLFS}/etc/inittab &lt;&lt; "EOF"
    101 <literal>c0:12345:respawn:/sbin/agetty 115200 ttyS0 vt100
     101<literal>c0:12345:respawn:/sbin/agetty --noclear 115200 ttyS0 vt100
    102102</literal>
    103103EOF</userinput></screen>
  • BOOK/boot/common/util-linux.xml

    rec008670 r229ed25  
    2222  <sect2 role="installation">
    2323    <title>Installation of Util-linux</title>
    24 
     24   
    2525    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    2626    href="../../final-system/common/util-linux.xml"
    2727    xpointer="xpointer(//*[@os='a'])"/>
    2828
    29 <screen os="b"><userinput>PKG_CONFIG=true \
     29<screen os="b"><userinput>PKG_CONFIG= \
    3030  ./configure --prefix=/tools --exec-prefix=/tools \
    3131    --build=${CLFS_HOST} --host=${CLFS_TARGET} \
    32     --enable-login-utils --disable-makeinstall-chown</userinput></screen>
     32    --disable-makeinstall-chown --disable-login --disable-su</userinput></screen>
    3333
    3434    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/boot/mips-chapter.xml

    rec008670 r229ed25  
    1717  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/createfiles.xml"/>
    1818  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/util-linux.xml"/>
    19   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/e2fsprogs.xml"/>
     19  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/shadow.xml"/>
     20 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/e2fsprogs.xml"/>
    2021  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/sysvinit.xml"/>
    21   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/module-init-tools.xml"/>
    22   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/udev.xml"/>
     22  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/kmod.xml"/>
     23  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/>
    2324  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/>
    2425  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/kernel.xml"/>
  • BOOK/boot/mips/kernel.xml

    rec008670 r229ed25  
    7575
    7676    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     77    href="../../bootable/x86/kernel.xml"
     78    xpointer="xpointer(//*[@os='s2'])"/>
     79
     80<screen><userinput>make ARCH=mips CROSS_COMPILE=${CLFS_TARGET}- \
     81   INSTALL_FW_PATH=${CLFS}/lib/firmware firmware_install</userinput></screen>
     82
     83    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    7784    href="../x86/kernel.xml"
    7885    xpointer="xpointer(//*[@os='u'])"/>
  • BOOK/boot/mips64-64-chapter.xml

    rec008670 r229ed25  
    1717  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/createfiles.xml"/>
    1818  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/util-linux.xml"/>
    19   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/e2fsprogs.xml"/>
     19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/shadow.xml"/>
     20 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64-64/e2fsprogs.xml"/>
    2021  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/sysvinit.xml"/>
    21   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/module-init-tools.xml"/>
    22   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/udev.xml"/>
     22  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64-64/kmod.xml"/>
     23  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64-64/eudev.xml"/>
    2324  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/>
    2425  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/kernel.xml"/>
  • BOOK/boot/mips64-chapter.xml

    rec008670 r229ed25  
    1717  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/createfiles.xml"/>
    1818  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/util-linux.xml"/>
    19   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/e2fsprogs.xml"/>
     19  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/shadow.xml"/>
     20 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/e2fsprogs.xml"/>
    2021  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/sysvinit.xml"/>
    21   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/module-init-tools.xml"/>
    22   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/udev.xml"/>
     22  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/kmod.xml"/>
     23  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/eudev.xml"/>
    2324  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/>
    2425  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/kernel.xml"/>
  • BOOK/boot/mips64/createfiles.xml

    rec008670 r229ed25  
    1515  xpointer="xpointer(//*[@os='a'])"/>
    1616
    17 <screen><userinput>ln -sv /tools/bin/{bash,cat,echo,grep,pwd,sleep,stty} ${CLFS}/bin
     17<screen><userinput>ln -sv /tools/bin/{bash,cat,echo,grep,login,passwd,pwd,sleep,stty} ${CLFS}/bin
    1818ln -sv /tools/bin/file ${CLFS}/usr/bin
     19ln -sv /tools/sbin/{agetty,blkid} ${CLFS}/sbin
    1920ln -sv /tools/lib/libgcc_s.so{,.1} ${CLFS}/usr/lib
    2021ln -sv /tools/lib32/libgcc_s.so{,.1} ${CLFS}/usr/lib32
     
    2324ln -sv /tools/lib32/libstd*so* ${CLFS}/usr/lib32
    2425ln -sv /tools/lib64/libstd*so* ${CLFS}/usr/lib64
    25 ln -sv bash ${CLFS}/bin/sh</userinput></screen>
     26ln -sv bash ${CLFS}/bin/sh
     27ln -sv ../run ${CLFS}/var/run</userinput></screen>
    2628
    2729</sect1>
  • BOOK/boot/mips64/creatingdirs.xml

    rec008670 r229ed25  
    1616
    1717<screen><userinput>mkdir -pv ${CLFS}/{bin,boot,dev,{etc/,}opt,home,lib{,32,64},mnt}
    18 mkdir -pv ${CLFS}/{proc,media/{floppy,cdrom},sbin,srv,sys}
    19 mkdir -pv ${CLFS}/var/{lock,log,mail,run,spool}
     18mkdir -pv ${CLFS}/{proc,media/{floppy,cdrom},run/{shm},sbin,srv,sys}
     19mkdir -pv ${CLFS}/var/{lock,log,mail,spool}
    2020mkdir -pv ${CLFS}/var/{opt,cache,lib{,32,64}/{misc,locate},local}
    2121install -dv ${CLFS}/root -m 0750
  • BOOK/boot/mips64/kernel.xml

    rec008670 r229ed25  
    7979
    8080    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     81    href="../../bootable/x86/kernel.xml"
     82    xpointer="xpointer(//*[@os='s2'])"/>
     83
     84<screen><userinput>make ARCH=mips CROSS_COMPILE=${CLFS_TARGET}- \
     85   INSTALL_FW_PATH=${CLFS}/lib/firmware firmware_install</userinput></screen>
     86
     87    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    8188    href="../x86/kernel.xml"
    8289    xpointer="xpointer(//*[@os='u'])"/>
  • BOOK/boot/multilib/createfiles.xml

    rec008670 r229ed25  
    1515  xpointer="xpointer(//*[@os='a'])"/>
    1616
    17 <screen><userinput>ln -sv /tools/bin/{bash,cat,echo,grep,pwd,sleep,stty} ${CLFS}/bin
     17<screen><userinput>ln -sv /tools/bin/{bash,cat,echo,grep,login,passwd,pwd,sleep,stty} ${CLFS}/bin
    1818ln -sv /tools/bin/file ${CLFS}/usr/bin
     19ln -sv /tools/sbin/{agetty,blkid} ${CLFS}/sbin
    1920ln -sv /tools/lib/libgcc_s.so{,.1} ${CLFS}/usr/lib
    2021ln -sv /tools/lib64/libgcc_s.so{,.1} ${CLFS}/usr/lib64
    2122ln -sv /tools/lib/libstd*so* ${CLFS}/usr/lib
    2223ln -sv /tools/lib64/libstd*so* ${CLFS}/usr/lib64
    23 ln -sv bash ${CLFS}/bin/sh</userinput></screen>
     24ln -sv bash ${CLFS}/bin/sh
     25ln -sv ../run ${CLFS}/var/run</userinput></screen>
    2426
    2527</sect1>
  • BOOK/boot/multilib/creatingdirs.xml

    rec008670 r229ed25  
    1616
    1717<screen os="b"><userinput>mkdir -pv ${CLFS}/{bin,boot,dev,{etc/,}opt,home,lib{,64},mnt}
    18 mkdir -pv ${CLFS}/{proc,media/{floppy,cdrom},sbin,srv,sys}
    19 mkdir -pv ${CLFS}/var/{lock,log,mail,run,spool}
     18mkdir -pv ${CLFS}/{proc,media/{floppy,cdrom},run/{,shm},sbin,srv,sys}
     19mkdir -pv ${CLFS}/var/{lock,log,mail,spool}
    2020mkdir -pv ${CLFS}/var/{opt,cache,lib{,64}/{misc,locate},local}
    2121install -dv ${CLFS}/root -m 0750
  • BOOK/boot/multilib/e2fsprogs.xml

    rec008670 r229ed25  
    5555    xpointer="xpointer(//*[@os='f'])"/>
    5656
    57     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    58     href="../common/e2fsprogs.xml"
    59     xpointer="xpointer(//*[@os='g'])"/>
     57<screen os="g"><userinput>make LIBUUID="-luuid" STATIC_LIBUUID="-luuid" \
     58    LIBBLKID="-lblkid" STATIC_LIBBLKID="-lblkid" \
     59    LDFLAGS="-Wl,-rpath,/tools/lib64"</userinput></screen>
    6060
    6161    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/boot/multilib/grub-build.xml

    rec008670 r229ed25  
    66]>
    77
    8 <sect1 id="ch-temp-system-ppl" role="wrap">
    9   <?dbhtml filename="ppl.html"?>
     8<sect1 id="ch-boot-grub-build" role="wrap">
     9  <?dbhtml filename="grub-build.html"?>
    1010
    11   <title>PPL-&ppl-version;</title>
     11  <title>GRUB-&grub-version;</title>
    1212
    13   <indexterm zone="ch-temp-system-ppl">
    14     <primary sortas="a-PPL">PPL</primary>
    15     <secondary>temporary system</secondary>
     13  <indexterm zone="ch-boot-grub-build">
     14    <primary sortas="a-GRUB">GRUB</primary>
     15    <secondary>boot</secondary>
    1616  </indexterm>
    1717
    1818  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    19   href="../../final-system/common/ppl.xml"
     19  href="../../final-system/x86/grub.xml"
    2020  xpointer="xpointer(//*[@role='package'])"/>
    2121
    2222  <sect2 role="installation">
    23     <title>Installation of PPL</title>
     23    <title>Installation of GRUB</title>
    2424
    2525    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    26     href="../common/ppl.xml"
     26    href="../../final-system/x86/grub.xml"
     27    xpointer="xpointer(//*[@os='n1'])"/>
     28
     29    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     30    href="../../final-system/x86/grub.xml"
     31    xpointer="xpointer(//*[@os='s1'])"/>
     32
     33    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     34    href="../../final-system/x86/grub.xml"
     35    xpointer="xpointer(//*[@os='s2'])"/>
     36
     37    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     38    href="../../final-system/x86/grub.xml"
    2739    xpointer="xpointer(//*[@os='a'])"/>
    2840
    29 <screen os="b"><userinput>CC="${CC} ${BUILD64}" ./configure --prefix=/tools \
     41<screen os="ab"><userinput>CC="${CC} ${BUILD64}" ./configure --prefix=/tools \
    3042    --build=${CLFS_HOST} --host=${CLFS_TARGET} \
    31     --enable-interfaces="c,cxx" --libdir=/tools/lib64 --enable-shared \
    32     --disable-optimization --with-libgmp-prefix=/tools \
    33     --with-libgmpxx-prefix=/tools</userinput></screen>
     43    --sysconfdir=/etc --libdir=/tools/lib64 --disable-werror</userinput></screen>
    3444
    3545    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    36     href="../common/ppl.xml"
    37     xpointer="xpointer(//*[@os='bp1'])"/>
    38 
    39     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    40     href="../common/ppl.xml"
    41     xpointer="xpointer(//*[@os='bp2'])"/>
    42 
    43     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    44     href="../common/ppl.xml"
     46    href="../../final-system/x86/grub.xml"
    4547    xpointer="xpointer(//*[@os='c'])"/>
    4648
    4749    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    48     href="../common/ppl.xml"
     50    href="../../final-system/x86/grub.xml"
    4951    xpointer="xpointer(//*[@os='d'])"/>
    50        
    51     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    52     href="../common/ppl.xml"
    53     xpointer="xpointer(//*[@os='e'])"/>
    5452
    5553    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    56     href="../common/ppl.xml"
     54    href="../../final-system/x86/grub.xml"
    5755    xpointer="xpointer(//*[@os='f'])"/>
     56
     57<screen os="ag"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
    5858
    5959  </sect2>
     
    6363
    6464    <para>Details on this package are located in <xref
    65     linkend="contents-ppl" role="."/></para>
     65    linkend="contents-grub" role="."/></para>
    6666
    6767  </sect2>
  • BOOK/boot/multilib/util-linux.xml

    rec008670 r229ed25  
    2222  <sect2 role="installation">
    2323    <title>Installation of Util-linux</title>
    24 
     24   
    2525    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    2626    href="../common/util-linux.xml"
    2727    xpointer="xpointer(//*[@os='a'])"/>
    2828
    29 <screen os="be"><userinput>CC="${CC} ${BUILD64}" PKG_CONFIG=true \
    30   ./configure \
    31     --prefix=/tools --exec-prefix=/tools \
    32     --build=${CLFS_HOST} --host=${CLFS_TARGET} \
    33     --libdir=/tools/lib64 --enable-login-utils \
    34     --disable-makeinstall-chown</userinput></screen>
     29<screen os="be"><userinput>CC="${CC} ${BUILD64}" PKG_CONFIG= ./configure \
     30    --prefix=/tools --exec-prefix="" --build=${CLFS_HOST} \
     31    --host=${CLFS_TARGET} --libdir=/tools/lib64 --bindir=/tools/bin \
     32    --sbindir=/tools/sbin --disable-makeinstall-chown --disable-login \
     33    --disable-su</userinput></screen>
    3534
    3635    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    4645    xpointer="xpointer(//*[@os='g'])"/>
    4746
    48     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    49     href="../common/util-linux.xml"
    50     xpointer="xpointer(//*[@os='h'])"/>
     47<screen os="h"><userinput>make usrsbin_execdir=/tools/sbin usrbin_execdir=/tools/bin install</userinput></screen>
    5148
    5249  </sect2>
  • BOOK/boot/ppc-chapter.xml

    rec008670 r229ed25  
    1616  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/createfiles.xml"/>
    1717  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/util-linux.xml"/>
    18   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/e2fsprogs.xml"/>
     18  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/shadow.xml"/>
     19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/e2fsprogs.xml"/>
    1920  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/sysvinit.xml"/>
    20   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/module-init-tools.xml"/>
    21   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/udev.xml"/>
     21  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/kmod.xml"/>
     22  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/>
    2223  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/>
    2324  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc/kernel.xml"/>
  • BOOK/boot/ppc/kernel.xml

    rec008670 r229ed25  
    8080
    8181    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     82    href="../../bootable/x86/kernel.xml"
     83    xpointer="xpointer(//*[@os='s2'])"/>
     84
     85<screen><userinput>make ARCH=powerpc CROSS_COMPILE=${CLFS_TARGET}- \
     86   INSTALL_FW_PATH=${CLFS}/lib/firmware firmware_install</userinput></screen>
     87
     88    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    8289    href="../x86/kernel.xml"
    8390    xpointer="xpointer(//*[@os='u'])"/>
  • BOOK/boot/ppc/yaboot-build.xml

    rec008670 r229ed25  
    2323    <title>Installation of Yaboot</title>
    2424
     25    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     26    href="../../final-system/ppc/yaboot.xml"
     27    xpointer="xpointer(//*[@os='p3'])"/>
     28
     29    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     30    href="../../final-system/ppc/yaboot.xml"
     31    xpointer="xpointer(//*[@os='p4'])"/>
     32
     33    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     34    href="../../final-system/ppc/yaboot.xml"
     35    xpointer="xpointer(//*[@os='p5'])"/>
     36
     37    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     38    href="../../final-system/ppc/yaboot.xml"
     39    xpointer="xpointer(//*[@os='p6'])"/>
     40
    2541    <para os="p1">The following patch allows <command>ofpath</command> to use
    2642    <literal>PATH_PREFIX</literal> like the other
     
    3349    loader. It also tries to change user and group ownership for the installed
    3450    files to <systemitem class="username">root</systemitem>, which the
    35     <systemitem class="username">clfs</systemitem> user cannot do. The following
    36     command fixes both issues:</para>
     51    <systemitem class="username">clfs</systemitem> user cannot do. It will also
     52    fail due to a compile warning with the -Werror flag on.   The following
     53    command fixes these issues:</para>
    3754
    3855<screen><userinput>cp -v Makefile{,.orig}
    3956sed -e "s/\(strip \)/${CLFS_TARGET}-\1/" \
    4057    -e 's/-o root -g root//' \
     58    -e 's/-Werror//' \
    4159    Makefile.orig &gt; Makefile</userinput></screen>
    4260
  • BOOK/boot/ppc64-64/powerpc-utils.xml

    rec008670 r229ed25  
    66]>
    77
    8 <sect1 id="ch-system-udev-32" role="wrap">
    9   <?dbhtml filename="udev.html"?>
     8<sect1 id="ch-boot-powerpc-utils" role="wrap">
     9  <?dbhtml filename="powerpc-utils.html"?>
    1010
    11   <title>Udev-&udev-version; 32 Bit Libraries</title>
     11  <title>Powerpc-Utils_&powerpcutils-version;</title>
    1212
    13   <indexterm zone="ch-system-udev-32">
    14     <primary sortas="a-Udev">Udev 32 Bit Libraries</primary>
    15     <secondary>32 Bit</secondary>
     13  <indexterm zone="ch-boot-powerpc-utils">
     14    <primary sortas="a-Powerpc-Utils">Powerpc-Utils</primary>
     15    <secondary>boot</secondary>
    1616  </indexterm>
    1717
    1818  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    19   href="../common/udev.xml"
     19  href="../../final-system/ppc/powerpc-utils.xml"
    2020  xpointer="xpointer(//*[@role='package'])"/>
    2121
    2222  <sect2 role="installation">
    23     <title>Installation of Udev</title>
     23    <title>Installation of Powerpc-Utils</title>
    2424
    2525    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    26     href="../common/udev.xml"
     26    href="../../final-system/ppc/powerpc-utils.xml"
    2727    xpointer="xpointer(//*[@os='a'])"/>
    2828
     
    3434
    3535    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    36     href="../common/udev.xml"
     36    href="../ppc/powerpc-utils.xml"
     37    xpointer="xpointer(//*[@os='a'])"/>
     38
     39<screen><userinput>${CC} ${BUILD64} -o nvsetenv nvsetenv.c nwnvsetenv.c</userinput></screen>
     40
     41    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     42    href="../ppc/powerpc-utils.xml"
    3743    xpointer="xpointer(//*[@os='c'])"/>
    3844
    3945    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    40     href="../common/udev.xml"
     46    href="../ppc/powerpc-utils.xml"
    4147    xpointer="xpointer(//*[@os='d'])"/>
    42 
    43     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    44     href="../common/udev.xml"
    45     xpointer="xpointer(//*[@os='g'])"/>
    46 
    47     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    48     href="../common/udev.xml"
    49     xpointer="xpointer(//*[@os='h'])"/>
    5048
    5149  </sect2>
     
    5452    <title/>
    5553
    56     <para>Details on this package are located in <xref
    57     linkend="contents-udev" role="."/></para>
     54    <para>Details on this package are located in <xref linkend="contents-powerpc-utils" role="."/></para>
    5855
    5956  </sect2>
     57
    6058</sect1>
    61 
  • BOOK/boot/ppc64-chapter.xml

    rec008670 r229ed25  
    1515  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/creatingdirs.xml"/>
    1616  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/createfiles.xml"/>
     17  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/util-linux-32.xml"/>
    1718  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/util-linux.xml"/>
     19  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/shadow.xml"/>
    1820  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/e2fsprogs-libs.xml"/>
    1921  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/e2fsprogs.xml"/>
    2022  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/sysvinit.xml"/>
    21   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/module-init-tools.xml"/>
    22   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/udev.xml"/>
     23  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/kmod.xml"/>
     24  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/eudev.xml"/>
    2325  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/>
    2426  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/kernel.xml"/>
     
    2729  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/yaboot-build.xml"/>
    2830  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/settingenviron.xml"/>
     31  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/flags.xml"/>
    2932  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/>
    3033  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
  • BOOK/boot/ppc64/e2fsprogs.xml

    rec008670 r229ed25  
    6868    xpointer="xpointer(//*[@os='f'])"/>
    6969
    70     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    71     href="../64/e2fsprogs.xml"
    72     xpointer="xpointer(//*[@os='g'])"/>
     70<screen os="g"><userinput>make LIBUUID="-luuid" STATIC_LIBUUID="-luuid" \
     71    LIBBLKID="-lblkid" STATIC_LIBBLKID="-lblkid" libs
     72make LIBUUID="-luuid" STATIC_LIBUUID="-luuid" LIBBLKID="-lblkid" \
     73    STATIC_LIBBLKID="-lblkid" LDFLAGS="-Wl,-rpath,/tools/lib64" -C e2fsck/</userinput></screen>
    7374
    74     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    75     href="../common/e2fsprogs.xml"
    76     xpointer="xpointer(//*[@os='i'])"/>
     75    <para os="i">Install the e2fsck binary:</para>
    7776
    78     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    79     href="../common/e2fsprogs.xml"
    80     xpointer="xpointer(//*[@os='j'])"/>
     77<screen os="j"><userinput>make install -C e2fsck</userinput></screen>
    8178
    8279    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/boot/ppc64/kernel.xml

    rec008670 r229ed25  
    7979
    8080    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     81    href="../../bootable/x86/kernel.xml"
     82    xpointer="xpointer(//*[@os='s2'])"/>
     83
     84<screen><userinput>make ARCH=powerpc CROSS_COMPILE=${CLFS_TARGET}- \
     85   INSTALL_FW_PATH=${CLFS}/lib/firmware firmware_install</userinput></screen>
     86
     87    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    8188    href="../x86/kernel.xml"
    8289    xpointer="xpointer(//*[@os='u'])"/>
  • BOOK/boot/ppc64/util-linux-32.xml

    rec008670 r229ed25  
    66]>
    77
    8 <sect1 id="ch-system-udev-n32" role="wrap">
    9   <?dbhtml filename="udev-n32.html"?>
     8<sect1 id="ch-boot-util-linux-32" role="wrap">
     9  <?dbhtml filename="util-linux-32.html"?>
    1010
    11   <title>Udev-&udev-version; N32 Libraries</title>
     11  <title>Util-linux-&util-linux-version; 32bit</title>
    1212
    13   <indexterm zone="ch-system-udev-n32">
    14     <primary sortas="a-Udev">Udev</primary>
    15     <secondary>N32</secondary>
     13  <indexterm zone="ch-boot-util-linux-32">
     14    <primary sortas="a-Util-linux">Util-linux 32bit</primary>
     15    <secondary>boot</secondary>
    1616  </indexterm>
    1717
    1818  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    19   href="../common/udev.xml"
     19  href="../../final-system/common/util-linux.xml"
    2020  xpointer="xpointer(//*[@role='package'])"/>
    2121
    2222  <sect2 role="installation">
    23     <title>Installation of Udev</title>
    24 
     23    <title>Installation of Util-linux 32 bit</title>
     24   
    2525    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    26     href="../common/udev.xml"
     26    href="../common/util-linux.xml"
    2727    xpointer="xpointer(//*[@os='a'])"/>
    2828
     
    3434
    3535    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    36     href="../common/udev.xml"
    37     xpointer="xpointer(//*[@os='c'])"/>
    38 
    39     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    40     href="../common/udev.xml"
     36    href="../common/util-linux.xml"
    4137    xpointer="xpointer(//*[@os='d'])"/>
    4238
    4339    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    44     href="../common/udev.xml"
     40    href="../common/util-linux.xml"
     41    xpointer="xpointer(//*[@os='e'])"/>
     42
     43    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     44    href="../common/util-linux.xml"
    4545    xpointer="xpointer(//*[@os='g'])"/>
    4646
    4747    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    48     href="../common/udev.xml"
     48    href="../common/util-linux.xml"
    4949    xpointer="xpointer(//*[@os='h'])"/>
    5050
     
    5555
    5656    <para>Details on this package are located in <xref
    57     linkend="contents-udev" role="."/></para>
     57    linkend="contents-util-linux" role="."/></para>
    5858
    5959  </sect2>
     60
    6061</sect1>
    61 
    62 
    63 
  • BOOK/boot/ppc64/yaboot-build.xml

    rec008670 r229ed25  
    2424
    2525    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     26    href="../../final-system/ppc/yaboot.xml"
     27    xpointer="xpointer(//*[@os='p3'])"/>
     28
     29    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     30    href="../../final-system/ppc/yaboot.xml"
     31    xpointer="xpointer(//*[@os='p4'])"/>
     32
     33    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     34    href="../../final-system/ppc/yaboot.xml"
     35    xpointer="xpointer(//*[@os='p5'])"/>
     36
     37    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     38    href="../../final-system/ppc/yaboot.xml"
     39    xpointer="xpointer(//*[@os='p6'])"/>
     40
     41    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    2642    href="../ppc/yaboot-build.xml"
    2743    xpointer="xpointer(//*[@os='p1'])"/>
     
    4359            -e "s/\(strip \)/${CLFS_TARGET}-\1/" \
    4460            -e 's/-o root -g root//' \
     61            -e 's/-Werror//' \
    4562    Makefile.orig &gt; Makefile</userinput></screen>
    4663
  • BOOK/boot/sparc-chapter.xml

    rec008670 r229ed25  
    1616  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/createfiles.xml"/>
    1717  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/util-linux.xml"/>
    18   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/e2fsprogs.xml"/>
     18  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/shadow.xml"/>
     19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/e2fsprogs.xml"/>
    1920  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/sysvinit.xml"/>
    20   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/module-init-tools.xml"/>
    21   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/udev.xml"/>
     21  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/kmod.xml"/>
     22  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/>
    2223  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/elftoaout.xml"/>
    2324  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/>
  • BOOK/boot/sparc/fstab.xml

    rec008670 r229ed25  
    2929proc           /proc           proc        defaults         0     0
    3030sysfs          /sys            sysfs       defaults         0     0
    31 devpts         /dev/pts        devpts      gid=4,mode=620   0     0
     31devpts         /dev/pts        devpts      gid=&gid-tty;,mode=620   0     0
    3232shm            /dev/shm        tmpfs       defaults         0     0
     33tmpfs          /run            tmpfs       defaults         0     0
     34devtmpfs       /dev            devtmpfs    mode=0755,nosuid 0     0
    3335none           /proc/openprom  openpromfs  defaults         0     0
    3436# End /etc/fstab</literal>
  • BOOK/boot/sparc/kernel.xml

    rec008670 r229ed25  
    7575
    7676    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     77    href="../../bootable/x86/kernel.xml"
     78    xpointer="xpointer(//*[@os='s2'])"/>
     79
     80<screen><userinput>make ARCH=sparc CROSS_COMPILE=${CLFS_TARGET}- \
     81   INSTALL_FW_PATH=${CLFS}/lib/firmware firmware_install</userinput></screen>
     82
     83    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    7784    href="../x86/kernel.xml"
    7885    xpointer="xpointer(//*[@os='u'])"/>
  • BOOK/boot/sparc/silo-build.xml

    rec008670 r229ed25  
    3131    xpointer="xpointer(//*[@os='b'])"/>
    3232
     33<para os="ae">This sed allows us to compile the bin2h binary separately.</para>
     34
     35<screen os="ad"><userinput>sed -i -e 's@\$(PROGRAMS)$@programs\n\nprograms: &amp;@' common/Makefile</userinput></screen>
     36
     37<para os="af">Compile the bin2h and util binaries for the host.</para>
     38
     39<screen os="aa"><userinput>make -C common programs CC=cc
     40make -C second util CC=cc</userinput></screen>
     41
     42    <variablelist>
     43      <varlistentry>
     44        <term><parameter>CC=cc</parameter></term>
     45        <listitem>
     46          <para>Overwrites the default value of <command>gcc -m32</command> which will fail
     47to compile on 64 bit targets. This is not to be confused with <command>CC=${CC}</command> below.</para>
     48        </listitem>
     49      </varlistentry>
     50    </variablelist>
     51
    3352    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    3453    href="../../final-system/sparc/silo.xml"
    3554    xpointer="xpointer(//*[@os='c'])"/>
    3655
    37 <screen os="aa"><userinput>make CROSS_COMPILE=${CLFS_TARGET}-</userinput></screen>
     56<screen os="ac"><userinput>make CC=${CC} AS=${AS} LD=${LD} STRIP=${STRIP}</userinput></screen>
    3857
    3958    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/boot/sparc64-64-chapter.xml

    rec008670 r229ed25  
    1616  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/createfiles.xml"/>
    1717  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/util-linux.xml"/>
    18   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/e2fsprogs.xml"/>
     18  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/shadow.xml"/>
     19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64-64/e2fsprogs.xml"/>
    1920  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/sysvinit.xml"/>
    20   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/module-init-tools.xml"/>
    21   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/udev.xml"/>
     21  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64-64/kmod.xml"/>
     22  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64-64/eudev.xml"/>
    2223  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/elftoaout.xml"/>
    2324  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/>
  • BOOK/boot/sparc64-chapter.xml

    rec008670 r229ed25  
    1616  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/createfiles.xml"/>
    1717  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/util-linux.xml"/>
    18   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/e2fsprogs.xml"/>
     18  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/shadow.xml"/>
     19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/e2fsprogs.xml"/>
    1920  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/sysvinit.xml"/>
    20   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/module-init-tools.xml"/>
    21   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/udev.xml"/>
     21  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/kmod.xml"/>
     22  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/eudev.xml"/>
    2223  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/elftoaout.xml"/>
    2324  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/>
  • BOOK/boot/sparc64/kernel.xml

    rec008670 r229ed25  
    7373    xpointer="xpointer(//*[@os='s'])"/>
    7474
    75 <screen><userinput>make INSTALL_MOD_PATH=${CLFS} ARCH=sparc64 \
     75<screen><userinput>make ARCH=sparc64 INSTALL_MOD_PATH=${CLFS} \
    7676   CROSS_COMPILE=${CLFS_TARGET}- modules_install</userinput></screen>
     77
     78    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     79    href="../../bootable/x86/kernel.xml"
     80    xpointer="xpointer(//*[@os='s2'])"/>
     81
     82<screen><userinput>make ARCH=sparc64 CROSS_COMPILE=${CLFS_TARGET}- \
     83   INSTALL_FW_PATH=${CLFS}/lib/firmware firmware_install</userinput></screen>
    7784
    7885    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/boot/x86-chapter.xml

    rec008670 r229ed25  
    1616  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/createfiles.xml"/>
    1717  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/util-linux.xml"/>
     18  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/shadow.xml"/>
    1819  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/e2fsprogs.xml"/>
    1920  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/sysvinit.xml"/>
    20   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/module-init-tools.xml"/>
    21   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/udev.xml"/>
     21  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/kmod.xml"/>
     22  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/>
    2223  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/>
    2324  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86/kernel.xml"/>
  • BOOK/boot/x86/grub-build.xml

    rec008670 r229ed25  
    2929    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    3030    href="../../final-system/x86/grub.xml"
     31    xpointer="xpointer(//*[@os='s1'])"/>
     32
     33    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     34    href="../../final-system/x86/grub.xml"
     35    xpointer="xpointer(//*[@os='s2'])"/>
     36
     37    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     38    href="../../final-system/x86/grub.xml"
    3139    xpointer="xpointer(//*[@os='a'])"/>
    3240
    33 <screen os="ab"><userinput>./configure --prefix=/usr \
     41<screen os="ab"><userinput>./configure --prefix=/tools \
    3442    --build=${CLFS_HOST} --host=${CLFS_TARGET} \
    3543    --sysconfdir=/etc --disable-werror</userinput></screen>
  • BOOK/boot/x86/kernel.xml

    rec008670 r229ed25  
    8282    INSTALL_MOD_PATH=${CLFS} modules_install</userinput></screen>
    8383
     84    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     85    href="../../bootable/x86/kernel.xml"
     86    xpointer="xpointer(//*[@os='s2'])"/>
     87
     88<screen><userinput>make ARCH=i386 CROSS_COMPILE=${CLFS_TARGET}- \
     89   INSTALL_FW_PATH=${CLFS}/lib/firmware firmware_install</userinput></screen>
     90
    8491    <para os="u">After kernel compilation is complete, additional steps are
    8592    required to complete the installation. Some files need to be copied to
  • BOOK/boot/x86_64-64-chapter.xml

    rec008670 r229ed25  
    1616  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/createfiles.xml"/>
    1717  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/util-linux.xml"/>
    18   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/e2fsprogs.xml"/>
     18  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/shadow.xml"/>
     19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64-64/e2fsprogs.xml"/>
    1920  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/sysvinit.xml"/>
    20   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/module-init-tools.xml"/>
    21   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/udev.xml"/>
     21  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64-64/kmod.xml"/>
     22  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64-64/eudev.xml"/>
    2223  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/>
    2324  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64/kernel.xml"/>
    24   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86/grub-build.xml"/>
     25  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/grub-build.xml"/>
    2526  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/settingenviron.xml"/>
    2627  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64-64/flags.xml"/>
  • BOOK/boot/x86_64-chapter.xml

    rec008670 r229ed25  
    1616  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/createfiles.xml"/>
    1717  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/util-linux.xml"/>
    18   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/e2fsprogs.xml"/>
     18  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/shadow.xml"/>
     19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/e2fsprogs.xml"/>
    1920  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/sysvinit.xml"/>
    20   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/module-init-tools.xml"/>
    21   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/udev.xml"/>
     21  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/kmod.xml"/>
     22  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/eudev.xml"/>
    2223  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/>
    2324  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64/kernel.xml"/>
    24   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86/grub-build.xml"/>
     25  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/grub-build.xml"/>
    2526  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/settingenviron.xml"/>
    2627  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64/flags.xml"/>
  • BOOK/boot/x86_64/kernel.xml

    rec008670 r229ed25  
    7979
    8080    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     81    href="../../bootable/x86/kernel.xml"
     82    xpointer="xpointer(//*[@os='s2'])"/>
     83
     84<screen><userinput>make ARCH=x86_64 CROSS_COMPILE=${CLFS_TARGET}- \
     85   INSTALL_FW_PATH=${CLFS}/lib/firmware firmware_install</userinput></screen>
     86
     87    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    8188    href="../x86/kernel.xml"
    8289    xpointer="xpointer(//*[@os='u'])"/>
  • BOOK/bootable/alpha/fstab.xml

    rec008670 r229ed25  
    2929proc           /proc        proc   defaults         0     0
    3030sysfs          /sys         sysfs  defaults         0     0
    31 devpts         /dev/pts     devpts gid=10,mode=620  0     0
     31devpts         /dev/pts     devpts gid=&gid-tty;,mode=620  0     0
    3232shm            /dev/shm     tmpfs  defaults         0     0
     33tmpfs          /run            tmpfs       defaults         0     0
     34devtmpfs       /dev            devtmpfs    mode=0755,nosuid 0     0
    3335# End /etc/fstab</literal>
    3436EOF</userinput></screen>
  • BOOK/bootable/alpha/kernel.xml

    rec008670 r229ed25  
    9090    href="../x86/kernel.xml"
    9191    xpointer="xpointer(//*[@os='t'])"/>
     92   
     93    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     94    href="../x86/kernel.xml"
     95    xpointer="xpointer(//*[@os='s2'])"/>
     96
     97    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     98    href="../x86/kernel.xml"
     99    xpointer="xpointer(//*[@os='t2'])"/>
    92100
    93101    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/bootable/common/fstab.xml

    rec008670 r229ed25  
    3232devpts         /dev/pts     devpts gid=&gid-tty;,mode=620   0     0
    3333shm            /dev/shm     tmpfs  defaults         0     0
     34tmpfs          /run         tmpfs  defaults         0     0
     35devtmpfs       /dev         devtmpfs mode=0755,nosuid 0     0
     36
    3437# End /etc/fstab</literal>
    3538EOF</userinput></screen>
  • BOOK/bootable/mips/kernel.xml

    rec008670 r229ed25  
    8181    href="../x86/kernel.xml"
    8282    xpointer="xpointer(//*[@os='t'])"/>
     83   
     84    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     85    href="../x86/kernel.xml"
     86    xpointer="xpointer(//*[@os='s2'])"/>
     87
     88    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     89    href="../x86/kernel.xml"
     90    xpointer="xpointer(//*[@os='t2'])"/>
    8391
    8492    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/bootable/ppc/kernel.xml

    rec008670 r229ed25  
    9393    href="../x86/kernel.xml"
    9494    xpointer="xpointer(//*[@os='t'])"/>
     95   
     96    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     97    href="../x86/kernel.xml"
     98    xpointer="xpointer(//*[@os='s2'])"/>
     99
     100    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     101    href="../x86/kernel.xml"
     102    xpointer="xpointer(//*[@os='t2'])"/>
    95103
    96104    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/bootable/ppc64/kernel.xml

    rec008670 r229ed25  
    8585    href="../x86/kernel.xml"
    8686    xpointer="xpointer(//*[@os='t'])"/>
     87   
     88    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     89    href="../x86/kernel.xml"
     90    xpointer="xpointer(//*[@os='s2'])"/>
     91
     92    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     93    href="../x86/kernel.xml"
     94    xpointer="xpointer(//*[@os='t2'])"/>
    8795
    8896    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/bootable/sparc/fstab.xml

    rec008670 r229ed25  
    2929proc           /proc           proc        defaults         0     0
    3030sysfs          /sys            sysfs       defaults         0     0
    31 devpts         /dev/pts        devpts      gid=10,mode=620  0     0
     31devpts         /dev/pts        devpts      gid=&gid-tty;,mode=620  0     0
    3232shm            /dev/shm        tmpfs       defaults         0     0
     33tmpfs          /run            tmpfs       defaults         0     0
     34devtmpfs       /dev            devtmpfs    mode=0755,nosuid 0     0
    3335none           /proc/openprom  openpromfs  defaults         0     0
    3436# End /etc/fstab</literal>
  • BOOK/bootable/sparc/kernel.xml

    rec008670 r229ed25  
    8585    href="../x86/kernel.xml"
    8686    xpointer="xpointer(//*[@os='t'])"/>
     87   
     88    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     89    href="../x86/kernel.xml"
     90    xpointer="xpointer(//*[@os='s2'])"/>
     91
     92    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     93    href="../x86/kernel.xml"
     94    xpointer="xpointer(//*[@os='t2'])"/>
    8795
    8896    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/bootable/x86/grub.xml

    rec008670 r229ed25  
    2929  the computer if the computer becomes unusable (un-bootable).</para>
    3030
    31   <para os="c">The first thing we need to do is generate a configuration for
    32   GRUB. In previous versions of grub we could create the configuration manually
    33   here, but with GRUB2 we can generate <filename>grub.cfg</filename>
    34   automatically. You can do this with the following command:</para>
    35 
    36 <screen os="d"><userinput>grub-mkconfig -o /boot/grub/grub.cfg</userinput></screen>
    37 
    3831  <warning os="w1">
    3932    <para>The following command will overwrite the current boot loader.
     
    5144<screen os="f"><userinput>grub-install /dev/sda</userinput></screen>
    5245
     46  <para os="c">Next, we need to generate a configuration for GRUB.
     47  In previous versions of grub we could create the configuration manually
     48  here, but with GRUB2 we can generate <filename>grub.cfg</filename>
     49  automatically. You can do this with the following command:</para>
     50
     51<screen os="d"><userinput>grub-mkconfig -o /boot/grub/grub.cfg</userinput></screen>
     52
    5353</sect1>
  • BOOK/bootable/x86/kernel.xml

    rec008670 r229ed25  
    3838
    3939    <para os="h">Configure the kernel via a menu-driven interface.
    40     Please note that the udev bootscript requires "rtc" and "tmpfs" to be
     40    Please note that the udev bootscript requires "rtc", "tmpfs" and "devtmpfs" to be
    4141    enabled and built into the kernel, not as modules. CBLFS has
    4242    some information regarding particular kernel configuration requirements of
     
    7272    kernel modules because it usually applies to 2.4.x kernels only. As
    7373    far as we know, kernel configuration issues specific to Hotplug and
    74     Udev are not documented. The problem is that Udev will create a device
     74    Eudev are not documented. The problem is that Eudev will create a device
    7575    node only if Hotplug or a user-written script inserts the corresponding
    7676    module into the kernel, and not all modules are detectable by Hotplug.
    7777    Note that statements like the one below in the
    78     <filename>/etc/modprobe.conf</filename> file do not work with Udev:</para>
     78    <filename>/etc/modprobe.conf</filename> file do not work with Eudev:</para>
    7979
    8080<screen os="q"><literal>alias char-major-XXX some-module</literal></screen>
    8181
    82     <para os="r">Because of the complications with Udev and modules,
     82    <para os="r">Because of the complications with Eudev and modules,
    8383    we strongly recommend starting with a completely non-modular kernel
    84     configuration, especially if this is the first time using Udev.</para>
     84    configuration, especially if this is the first time using Eudev.</para>
    8585
    8686    <para os="s">Install the modules, if the kernel configuration uses
     
    8888
    8989<screen os="t"><userinput>make modules_install</userinput></screen>
     90
     91    <para os="s2">Install the firmware, if the kernel configuration uses
     92    them:</para>
     93
     94<screen os="t2"><userinput>make firmware_install</userinput></screen>
    9095
    9196    <para os="u">After kernel compilation is complete, additional steps are
  • BOOK/bootable/x86_64/kernel.xml

    rec008670 r229ed25  
    8585    href="../x86/kernel.xml"
    8686    xpointer="xpointer(//*[@os='t'])"/>
     87   
     88    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     89    href="../x86/kernel.xml"
     90    xpointer="xpointer(//*[@os='s2'])"/>
     91
     92    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     93    href="../x86/kernel.xml"
     94    xpointer="xpointer(//*[@os='t2'])"/>
    8795
    8896    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/bootscripts/alpha-chapter.xml

    rec008670 r229ed25  
    1616
    1717  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/console.xml"/>
    18   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/udev.xml"/>
     18  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/>
    1919  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/symlinks.xml"/>
    2020  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/profile.xml"/>
  • BOOK/bootscripts/common/eudev.xml

    rec008670 r229ed25  
    66]>
    77
    8 <sect1 id="ch-scripts-udev">
    9   <?dbhtml filename="udev.html"?>
     8<sect1 id="ch-scripts-eudev">
     9  <?dbhtml filename="eudev.html"?>
    1010
    1111  <title>Device and Module Handling on a CLFS System</title>
    1212
    13   <indexterm zone="ch-scripts-udev">
    14     <primary sortas="a-Udev">Udev</primary>
     13  <indexterm zone="ch-scripts-eudev">
     14    <primary sortas="a-Eudev">Eudev</primary>
    1515    <secondary>usage</secondary>
    1616  </indexterm>
    1717
    18   <para>In <xref linkend="chapter-building-system"/>, we installed the Udev
     18  <para>In <xref linkend="chapter-building-system"/>, we installed the Eudev
    1919  package. Before we go into the details regarding how this works,
    2020  a brief history of previous methods of handling devices is in
     
    3030  the world.</para>
    3131
    32   <para>Using the Udev method, only those devices which are detected by the
     32  <para>Using the Eudev method, only those devices which are detected by the
    3333  kernel get device nodes created for them. Because these device nodes will be
    3434  created each time the system boots, they will be stored on a <systemitem
     
    7171
    7272  <sect2>
    73     <title>Udev Implementation</title>
     73    <title>Eudev Implementation</title>
    7474
    7575    <sect3>
     
    9393
    9494    <sect3>
    95       <title>Udev Bootscript</title>
     95      <title>Eudev Bootscript</title>
    9696
    9797      <para>The <command>S10udev</command> initscript takes care of creating
     
    109109      class="directory">/lib/udev/devices</filename> also provides an easy
    110110      workaround for devices that are not supported by the dynamic device
    111       handling infrastructure. The bootscript then starts the Udev daemon,
     111      handling infrastructure. The bootscript then starts the Eudev daemon,
    112112      <command>udevd</command>, which will act on any uevents it receives.
    113113      Finally, the bootscript forces the kernel to replay uevents for any
     
    120120      <title>Device Node Creation</title>
    121121
    122       <para>To obtain the right major and minor number for a device, Udev relies
     122      <para>To obtain the right major and minor number for a device, Eudev relies
    123123      on the information provided by <systemitem
    124124      class="filesystem">sysfs</systemitem> in <filename
     
    134134      <command>udevd</command> can't find a rule for the device it is creating,
    135135      it will default permissions to <emphasis>660</emphasis> and ownership to
    136       <emphasis>root:root</emphasis>. Documentation on the syntax of the Udev
     136      <emphasis>root:root</emphasis>. Documentation on the syntax of the Eudev
    137137      rules configuration files is available in
    138138      <filename>/usr/share/doc/udev/writing_udev_rules/index.html</filename></para>
     
    155155      might contain the string
    156156      <quote>pci:v00001319d00000801sv00001319sd00001319bc04sc01i00</quote>.
    157       The default rules provided by Udev will cause <command>udevd</command>
     157      The default rules provided by Eudev will cause <command>udevd</command>
    158158      to call out to <command>/sbin/modprobe</command> with the contents of the
    159159      <envar>MODALIAS</envar> uevent environment variable (that should be the
     
    194194      <title>A kernel module is not loaded automatically</title>
    195195
    196       <para>Udev will only load a module if it has a bus-specific alias and the
     196      <para>Eudev will only load a module if it has a bus-specific alias and the
    197197      bus driver properly exports the necessary aliases to <systemitem
    198198      class="filesystem">sysfs</systemitem>. In other cases, one should
    199       arrange module loading by other means. With Linux-&linux-version;, Udev is
     199      arrange module loading by other means. With Linux-&linux-version;, Eudev is
    200200      known to load properly-written drivers for INPUT, IDE, PCI, USB, SCSI,
    201201      SERIO and FireWire devices.</para>
    202202
    203203      <para>To determine if the device driver you require has the necessary
    204       support for Udev, run <command>modinfo</command> with the module name as
     204      support for Eudev, run <command>modinfo</command> with the module name as
    205205      the argument.  Now try locating the device directory under
    206206      <filename class="directory">/sys/bus</filename> and check whether there is
     
    210210      class="filesystem">sysfs</systemitem>, the driver supports the device and
    211211      can talk to it directly, but doesn't have the alias, it is a bug in the
    212       driver. Load the driver without the help from Udev and expect the issue
     212      driver. Load the driver without the help from Eudev and expect the issue
    213213      to be fixed later.</para>
    214214
     
    219219      busses. Expect this issue to be fixed in later kernel versions.</para>
    220220
    221       <para>Udev is not intended to load <quote>wrapper</quote> drivers such as
     221      <para>Eudev is not intended to load <quote>wrapper</quote> drivers such as
    222222      <emphasis>snd-pcm-oss</emphasis> and non-hardware drivers such as
    223223      <emphasis>loop</emphasis> at all.</para>
     
    226226
    227227    <sect3>
    228       <title>A kernel module is not loaded automatically, and Udev is not
     228      <title>A kernel module is not loaded automatically, and Eudev is not
    229229      intended to load it</title>
    230230
     
    233233      enhances the functionality of <emphasis>snd-pcm</emphasis> by making the
    234234      sound cards available to OSS applications), configure
    235       <command>modprobe</command> to load the wrapper after Udev loads the
     235      <command>modprobe</command> to load the wrapper after Eudev loads the
    236236      wrapped module. To do this, add an <quote>install</quote> line in
    237237      <filename>/etc/modprobe.conf</filename>. For example:</para>
     
    249249
    250250    <sect3>
    251       <title>Udev loads some unwanted module</title>
     251      <title>Eudev loads some unwanted module</title>
    252252
    253253      <para>Either don't build the module, or blacklist it in
     
    263263
    264264    <sect3>
    265       <title>Udev creates a device incorrectly, or makes a wrong symlink</title>
     265      <title>Eudev creates a device incorrectly, or makes a wrong symlink</title>
    266266
    267267      <para>This usually happens if a rule unexpectedly matches a device. For
     
    274274
    275275    <sect3>
    276       <title>Udev rule works unreliably</title>
     276      <title>Eudev rule works unreliably</title>
    277277
    278278      <para>This may be another manifestation of the previous problem. If not,
     
    288288
    289289    <sect3>
    290       <title>Udev does not create a device</title>
     290      <title>Eudev does not create a device</title>
    291291
    292292      <para>Further text assumes that the driver is built statically into the
    293293      kernel or already loaded as a module, and that you have already checked
    294       that Udev doesn't create a misnamed device.</para>
    295 
    296       <para>Udev has no information needed to create a device node if a kernel
     294      that Eudev doesn't create a misnamed device.</para>
     295
     296      <para>Eudev has no information needed to create a device node if a kernel
    297297      driver does not export its data to <systemitem
    298298      class="filesystem">sysfs</systemitem>.
     
    311311      <title>Device naming order changes randomly after rebooting</title>
    312312
    313       <para>This is due to the fact that Udev, by design, handles uevents and
     313      <para>This is due to the fact that Eudev, by design, handles uevents and
    314314      loads modules in parallel, and thus in an unpredictable order. This will
    315315      never be <quote>fixed</quote>. You should not rely upon the kernel device
    316316      names being stable. Instead, create your own rules that make symlinks with
    317317      stable names based on some stable attributes of the device, such as a
    318       serial number or the output of various *_id utilities installed by Udev.
     318      serial number or the output of various *_id utilities installed by Eudev.
    319319      See <xref linkend="ch-scripts-symlinks"/> and
    320320      <xref linkend="chapter-network"/> for examples.</para>
  • BOOK/bootscripts/common/locale.xml

    rec008670 r229ed25  
    7474  to it being added to <filename>/etc/locale.conf</filename>:</para>
    7575
    76 <screen role="nodump"><userinput>LC_ALL=[locale name] locale country
     76<screen role="nodump"><userinput>LC_ALL=[locale name] locale territory
    7777LC_ALL=[locale name] locale language
    7878LC_ALL=[locale name] locale charmap
  • BOOK/bootscripts/common/symlinks.xml

    rec008670 r229ed25  
    4545    <note>
    4646      <para>Although the examples in this book work properly, be aware
    47       that Udev does not recognize the backslash for line continuation.
    48       If modifying Udev rules with an editor, be sure to leave each rule
     47      that Eudev does not recognize the backslash for line continuation.
     48      If modifying Eudev rules with an editor, be sure to leave each rule
    4949      on one physical line.</para>
    5050    </note>
     
    8989    <title>Dealing with duplicate devices</title>
    9090
    91     <para>As explained in <xref linkend="ch-scripts-udev"/>, the order in
     91    <para>As explained in <xref linkend="ch-scripts-eudev"/>, the order in
    9292    which devices with the same function appear in
    9393    <filename class="directory">/dev</filename> is essentially random.
     
    134134    device.</para>
    135135
    136     <para>More information on writing Udev rules can be found in
     136    <para>More information on writing Eudev rules can be found in
    137137    <filename>/usr/share/doc/udev/writing_udev_rules/index.html</filename>.</para>
    138138
  • BOOK/bootscripts/mips-chapter.xml

    rec008670 r229ed25  
    1616
    1717  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/console.xml"/>
    18   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/udev.xml"/>
     18  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/>
    1919  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/symlinks.xml"/>
    2020  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/profile.xml"/>
  • BOOK/bootscripts/mips64-64-chapter.xml

    rec008670 r229ed25  
    1616
    1717  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/console.xml"/>
    18   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/udev.xml"/>
     18  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/>
    1919  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/symlinks.xml"/>
    2020  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/profile.xml"/>
  • BOOK/bootscripts/mips64-chapter.xml

    rec008670 r229ed25  
    1616
    1717  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/console.xml"/>
    18   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/udev.xml"/>
     18  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/>
    1919  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/symlinks.xml"/>
    2020  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/profile.xml"/>
  • BOOK/bootscripts/ppc-chapter.xml

    rec008670 r229ed25  
    1616
    1717  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/console.xml"/>
    18   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/udev.xml"/>
     18  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/>
    1919  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/symlinks.xml"/>
    2020  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/profile.xml"/>
  • BOOK/bootscripts/ppc64-chapter.xml

    rec008670 r229ed25  
    1616
    1717  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/console.xml"/>
    18   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/udev.xml"/>
     18  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/>
    1919  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/symlinks.xml"/>
    2020  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/profile.xml"/>
  • BOOK/bootscripts/sparc-chapter.xml

    rec008670 r229ed25  
    1616
    1717  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/console.xml"/>
    18   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/udev.xml"/>
     18  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/>
    1919  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/symlinks.xml"/>
    2020  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/profile.xml"/>
  • BOOK/bootscripts/sparc64-64-chapter.xml

    rec008670 r229ed25  
    1616
    1717  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/console.xml"/>
    18   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/udev.xml"/>
     18  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/>
    1919  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/symlinks.xml"/>
    2020  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/profile.xml"/>
  • BOOK/bootscripts/sparc64-chapter.xml

    rec008670 r229ed25  
    1616
    1717  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/console.xml"/>
    18   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/udev.xml"/>
     18  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/>
    1919  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/symlinks.xml"/>
    2020  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/profile.xml"/>
  • BOOK/bootscripts/x86-chapter.xml

    rec008670 r229ed25  
    1616
    1717  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/console.xml"/>
    18   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/udev.xml"/>
     18  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/>
    1919  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/symlinks.xml"/>
    2020  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/profile.xml"/>
  • BOOK/bootscripts/x86_64-64-chapter.xml

    rec008670 r229ed25  
    1616
    1717  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/console.xml"/>
    18   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/udev.xml"/>
     18  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/>
    1919  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/symlinks.xml"/>
    2020  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/profile.xml"/>
  • BOOK/bootscripts/x86_64-chapter.xml

    rec008670 r229ed25  
    1616
    1717  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/console.xml"/>
    18   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/udev.xml"/>
     18  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/>
    1919  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/symlinks.xml"/>
    2020  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/profile.xml"/>
  • BOOK/chroot/64/createfiles.xml

    rec008670 r229ed25  
    2121ln -sv /tools/lib/libgcc_s.so{,.1} /usr/lib
    2222ln -sv /tools/lib/libstd* /usr/lib
    23 ln -sv bash /bin/sh</userinput></screen>
     23ln -sv bash /bin/sh
     24ln -sv /run /var/run</userinput></screen>
    2425
    2526  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/chroot/common/createfiles.xml

    rec008670 r229ed25  
    1919ln -sv /tools/lib/libgcc_s.so{,.1} /usr/lib
    2020ln -sv /tools/lib/libstd* /usr/lib
    21 ln -sv bash /bin/sh</userinput></screen>
     21ln -sv bash /bin/sh
     22ln -sv /run /var/run</userinput></screen>
    2223
    2324</sect1>
  • BOOK/chroot/common/creatingdirs.xml

    rec008670 r229ed25  
    1616
    1717<screen os="b"><userinput>mkdir -pv /{bin,boot,dev,{etc/,}opt,home,lib,mnt}
    18 mkdir -pv /{proc,media/{floppy,cdrom},sbin,srv,sys}
    19 mkdir -pv /var/{lock,log,mail,run,spool}
     18mkdir -pv /{proc,media/{floppy,cdrom},run/shm,sbin,srv,sys}
     19mkdir -pv /var/{lock,log,mail,spool}
    2020mkdir -pv /var/{opt,cache,lib/{misc,locate},local}
    2121install -dv -m 0750 /root
  • BOOK/chroot/common/devices.xml

    rec008670 r229ed25  
    3030
    3131    <para>This file&mdash;<filename>/etc/fstab</filename>&mdash;has not
    32     been created yet but is also not required for the file systems to be
    33     properly mounted. As such, the warning can be safely ignored.</para>
     32    been created yet (unless using the boot method), but is also not required
     33    for the file systems to be properly mounted. The warning can be safely
     34    ignored.</para>
    3435
    3536  </sect2>
  • BOOK/chroot/common/kernfs.xml

    rec008670 r229ed25  
    3636  <para>Two device nodes, /dev/console and /dev/null, are required to be
    3737  present on the filesystem.  These are needed by the kernel even before
    38   starting Udev early in the boot process, so we create them here:</para>
     38  starting Eudev early in the boot process, so we create them here:</para>
    3939
    4040<screen><userinput>mknod -m 600 ${CLFS}/dev/console c 5 1
     
    4242
    4343  <para>Once the system is complete and booting, the rest of our device
    44   nodes are created by the Udev package.  Since this package is not
     44  nodes are created by the Eudev package.  Since this package is not
    4545  available to us right now, we must take other steps to provide device
    4646  nodes under on the CLFS filesystem.  We will use the <quote>bind</quote>
     
    5454  for each of these now:</para>
    5555
    56 <screen><userinput>mount -f -vt tmpfs tmpfs ${CLFS}/dev/shm
     56<screen><userinput>if [ -h ${CLFS}/dev/shm ]; then
     57  link=$(readlink ${CLFS}/dev/shm)
     58  mkdir -p ${CLFS}/$link
     59  mount -f -vt tmpfs shm ${CLFS}/$link
     60  unset link
     61else
     62  mount -f -vt tmpfs shm ${CLFS}/dev/shm
     63fi
    5764mount -f -vt devpts -o gid=&gid-tty;,mode=620 devpts ${CLFS}/dev/pts</userinput></screen>
    5865
  • BOOK/chroot/common/util-linux.xml

    rec008670 r229ed25  
    2727    xpointer="xpointer(//*[@os='a'])"/>
    2828
    29 <screen os="b"><userinput>./configure --prefix=/tools \
     29<screen os="b"><userinput>PKG_CONFIG= ./configure --prefix=/tools \
    3030    --build=${CLFS_HOST} --host=${CLFS_TARGET} \
    31     --disable-makeinstall-chown</userinput></screen>
     31    --disable-makeinstall-chown --disable-su --disable-login</userinput></screen>
    3232
    3333    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/chroot/mips64/createfiles.xml

    rec008670 r229ed25  
    2323ln -sv /tools/lib32/libstd* /usr/lib32
    2424ln -sv /tools/lib64/libstd* /usr/lib64
    25 ln -sv bash /bin/sh</userinput></screen>
     25ln -sv bash /bin/sh
     26ln -sv /run /var/run</userinput></screen>
    2627
    2728</sect1>
  • BOOK/chroot/mips64/creatingdirs.xml

    rec008670 r229ed25  
    1616
    1717<screen><userinput>mkdir -pv /{bin,boot,dev,{etc/,}opt,home,lib{,32,64},mnt}
    18 mkdir -pv /{proc,media/{floppy,cdrom},sbin,srv,sys}
    19 mkdir -pv /var/{lock,log,mail,run,spool}
     18mkdir -pv /{proc,media/{floppy,cdrom},run/{,shm},sbin,srv,sys}
     19mkdir -pv /var/{lock,log,mail,spool}
    2020mkdir -pv /var/{opt,cache,lib{,32,64}/{misc,locate},local}
    2121install -dv /root -m 0750
  • BOOK/chroot/multilib/createfiles.xml

    rec008670 r229ed25  
    2121ln -sv /tools/lib/libstd* /usr/lib
    2222ln -sv /tools/lib64/libstd* /usr/lib64
    23 ln -sv bash /bin/sh</userinput></screen>
     23ln -sv bash /bin/sh
     24ln -sv /run /var/run</userinput></screen>
    2425
    2526</sect1>
  • BOOK/chroot/multilib/creatingdirs.xml

    rec008670 r229ed25  
    1616
    1717<screen><userinput>mkdir -pv /{bin,boot,dev,{etc/,}opt,home,lib{,64},mnt}
    18 mkdir -pv /{proc,media/{floppy,cdrom},sbin,srv,sys}
    19 mkdir -pv /var/{lock,log,mail,run,spool}
     18mkdir -pv /{proc,media/{floppy,cdrom},run/{,shm},sbin,srv,sys}
     19mkdir -pv /var/{lock,log,mail,spool}
    2020mkdir -pv /var/{opt,cache,lib{,64}/{misc,locate},local}
    2121install -dv /root -m 0750
  • BOOK/chroot/multilib/util-linux.xml

    rec008670 r229ed25  
    2222  <sect2 role="installation">
    2323    <title>Installation of Util-linux</title>
    24 
     24   
    2525    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    2626    href="../common/util-linux.xml"
    2727    xpointer="xpointer(//*[@os='a'])"/>
    2828
    29 <screen os="be"><userinput>CC="${CC} ${BUILD64}" ./configure --prefix=/tools \
     29<screen os="be"><userinput>CC="${CC} ${BUILD64}" PKG_CONFIG= ./configure --prefix=/tools \
    3030    --build=${CLFS_HOST} --host=${CLFS_TARGET} \
    31     --disable-makeinstall-chown</userinput></screen>
     31    --disable-makeinstall-chown --disable-login --disable-su</userinput></screen>
    3232
    3333    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/chroot/x86/before-chroot.xml

    rec008670 r229ed25  
    3535    <command>config.guess</command>:</para>
    3636
    37 <screen><userinput>lib/config.guess</userinput></screen>
     37<screen><userinput>build-aux/config.guess</userinput></screen>
    3838
    3939    <para>If the output of that command does not equal what is in
     
    5555    directory:</para>
    5656
    57 <screen><userinput>setarch linux32 lib/config.guess</userinput></screen>
     57<screen><userinput>setarch linux32 build-aux/config.guess</userinput></screen>
    5858
    5959    <para>If the output of the command above equals what is in
     
    125125    directory:</para>
    126126
    127 <screen os="uui"><userinput>lib/config.guess</userinput></screen>
     127<screen os="uui"><userinput>build-aux/config.guess</userinput></screen>
    128128
    129129    <para os="uuj">The output of the above command should be the same as the
  • BOOK/cross-tools/64/eglibc.xml

    rec008670 r229ed25  
    2828
    2929    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    30     href="../common/eglibc.xml"
    31     xpointer="xpointer(//*[@os='db'])"/>
     30    href="../../final-system/common/eglibc.xml"
     31    xpointer="xpointer(//*[@os='s1'])"/>
    3232
    3333    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    34     href="../common/eglibc.xml"
    35     xpointer="xpointer(//*[@os='dc'])"/>
     34    href="../../final-system/common/eglibc.xml"
     35    xpointer="xpointer(//*[@os='s2'])"/>
    3636
    3737    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    5959      ../eglibc-&eglibc-version;/configure --prefix=/tools \
    6060      --host=${CLFS_TARGET} --build=${CLFS_HOST} \
    61       --disable-profile --enable-add-ons \
    62       --with-tls --enable-kernel=2.6.0 --with-__thread \
     61      --disable-profile --with-tls --enable-kernel=2.6.32 --with-__thread \
    6362      --with-binutils=/cross-tools/bin --with-headers=/tools/include \
    64       --cache-file=config.cache</userinput></screen>
     63      --enable-obsolete-rpc --cache-file=config.cache</userinput></screen>
    6564
    6665    <variablelist os="dg">
     
    107106      xpointer="xpointer(//*[@os='dg10'])"/>
    108107
     108      <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     109      href="../common/eglibc.xml"
     110      xpointer="xpointer(//*[@os='dg11'])"/>
     111
    109112    </variablelist>
    110113
  • BOOK/cross-tools/64/gcc-final.xml

    rec008670 r229ed25  
    2424
    2525    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    26     href="gcc-static.xml"
     26    href="../../final-system/common/gcc.xml"
    2727    xpointer="xpointer(//*[@os='p1'])"/>
    2828
    2929    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    30     href="gcc-static.xml"
     30    href="../../final-system/common/gcc.xml"
    3131    xpointer="xpointer(//*[@os='p2'])"/>
    3232
     
    4646    href="gcc-static.xml"
    4747    xpointer="xpointer(//*[@os='ah'])"/>
    48 
    49     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    50     href="gcc-static.xml"
    51     xpointer="xpointer(//*[@os='ai'])"/>
    52 
    53     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    54     href="gcc-static.xml"
    55     xpointer="xpointer(//*[@os='aj'])"/>
    5648
    5749    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/cross-tools/64/gcc-static.xml

    rec008670 r229ed25  
    2525
    2626    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    27     href="../common/gcc-static.xml"
     27    href="../../final-system/common/gcc.xml"
    2828    xpointer="xpointer(//*[@os='p1'])"/>
    2929
    3030    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    31     href="../common/gcc-static.xml"
     31    href="../../final-system/common/gcc.xml"
    3232    xpointer="xpointer(//*[@os='p2'])"/>
    3333
     
    4545    href="../common/gcc-static.xml"
    4646    xpointer="xpointer(//*[@os='ah'])"/>
    47 
    48     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    49     href="../common/gcc-static.xml"
    50     xpointer="xpointer(//*[@os='ai'])"/>
    51 
    52     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    53     href="../common/gcc-static.xml"
    54     xpointer="xpointer(//*[@os='aj'])"/>
    5547
    5648    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    9890    xpointer="xpointer(//*[@os='aq'])"/>
    9991
     92    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     93    href="../common/gcc-static.xml"
     94    xpointer="xpointer(//*[@os='ar'])"/>
     95
    10096  </sect2>
    10197
  • BOOK/cross-tools/alpha-chapter.xml

    rec008670 r229ed25  
    1515  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cflags.xml"/>
    1616  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="alpha/variables.xml"/>
    17   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="alpha/linux-headers.xml"/>
     17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
     18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="alpha/linux-headers.xml"/>
    1819  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/file.xml"/>
    1920  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/m4.xml"/>
     
    2223  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/mpfr.xml"/>
    2324  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/mpc.xml"/>
    24   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/ppl.xml"/>
    25   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cloog-ppl.xml"/>
     25  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/isl.xml"/>
     26  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cloog.xml"/>
    2627  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/binutils-32.xml"/>
    2728  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="alpha/eglibc-headers.xml"/>
  • BOOK/cross-tools/alpha/eglibc-headers.xml

    rec008670 r229ed25  
    2323    <title>Installation of EGLIBC Headers</title>
    2424
     25    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     26    href="../common/eglibc.xml"
     27    xpointer="xpointer(//*[@os='da'])"/>
     28
    2529    <para os="s1">EGLIBC's <filename>configure</filename> script checks the
    2630    version of GCC, and will fail if it's less than 3.4. The next EGLIBC build
     
    3337<screen os="s2"><userinput>cp -v configure{,.orig}
    3438sed -e 's/3.4/3.[0-9]/g' configure.orig &gt; configure</userinput></screen>
     39
     40    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     41    href="../../final-system/common/eglibc.xml"
     42    xpointer="xpointer(//*[@os='s1'])"/>
     43
     44    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     45    href="../../final-system/common/eglibc.xml"
     46    xpointer="xpointer(//*[@os='s2'])"/>
    3547
    3648    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    6173<screen os="s3"><userinput>CC=gcc ../eglibc-&eglibc-version;/configure --prefix=/tools \
    6274   --host=${CLFS_TARGET} --build=${CLFS_HOST} \
    63    --disable-sanity-checks --enable-kernel=2.6.0 \
    64    --with-headers=/tools/include --cache-file=config.cache \
     75   --disable-sanity-checks --enable-kernel=2.6.32 \
     76   --with-headers=/tools/include --enable-obsolete-rpc \
     77   --cache-file=config.cache \
    6578   --with-binutils=/cross-tools/${CLFS_TARGET}/bin</userinput></screen>
    6679
     
    113126
    114127       <varlistentry os="ca6">
    115             <term><parameter>--enable-kernel=2.6.0</parameter></term>
     128            <term><parameter>--enable-kernel=2.6.32</parameter></term>
    116129            <listitem>
    117130               <para>This tells EGLIBC to compile the library with support
    118                for 2.6.x Linux kernels.</para>
     131               for 2.6.32 and later Linux kernels.</para>
    119132            </listitem>
    120133       </varlistentry>
  • BOOK/cross-tools/alpha/eglibc.xml

    rec008670 r229ed25  
    2828
    2929    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    30     href="../common/eglibc.xml"
    31     xpointer="xpointer(//*[@os='db'])"/>
     30    href="../../final-system/common/eglibc.xml"
     31    xpointer="xpointer(//*[@os='s1'])"/>
    3232
    3333    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    34     href="../common/eglibc.xml"
    35     xpointer="xpointer(//*[@os='dc'])"/>
     34    href="../../final-system/common/eglibc.xml"
     35    xpointer="xpointer(//*[@os='s2'])"/>
    3636
    3737    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/cross-tools/alpha/linux-headers.xml

    rec008670 r229ed25  
    3131    xpointer="xpointer(//*[@os='b'])"/>
    3232
    33 <screen os="c"><userinput>install -dv /tools/include
    34 make mrproper
     33<screen os="c"><userinput>make mrproper
    3534make ARCH=alpha headers_check
    36 make ARCH=alpha INSTALL_HDR_PATH=dest headers_install
    37 cp -rv dest/include/* /tools/include</userinput></screen>
     35make ARCH=alpha INSTALL_HDR_PATH=/tools headers_install</userinput></screen>
    3836
    3937    <variablelist os="d">
     
    5351
    5452      <varlistentry os="d3">
    55         <term><parameter>make ARCH=alpha INSTALL_HDR_PATH=dest headers_install</parameter></term>
     53        <term><parameter>make ARCH=alpha INSTALL_HDR_PATH=/tools headers_install</parameter></term>
    5654        <listitem>
    57           <para>Normally the headers_install target removes the entire
    58           destination directory (default
    59           <filename class="directory">/usr/include</filename>) before
    60           installing the headers. To prevent this, we tell the kernel to
    61           install the headers to a directory inside the source dir.</para>
     55          <para>This will install the kernel headers into
     56          <filename class="directory">/tools/include</filename>.</para>
    6257        </listitem>
    6358      </varlistentry>
  • BOOK/cross-tools/common/binutils-32.xml

    rec008670 r229ed25  
    2828    enable.</para>
    2929
     30<!-- Branch update patch area
     31    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     32    href="../../final-system/common/binutils.xml"
     33    xpointer="xpointer(//*[@os='p1'])"/>
     34
     35    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     36    href="../../final-system/common/binutils.xml"
     37    xpointer="xpointer(//*[@os='p2'])"/>
     38-->
    3039    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    3140    href="../../final-system/common/binutils.xml"
     
    4049    xpointer="xpointer(//*[@os='i'])"/>
    4150
    42 <screen os="bc"><userinput>AR=ar AS=as ../binutils-&binutils-version;/configure \
     51<screen os="bc"><userinput>AR=ar AS=as ../binutils-&binutils-dir;/configure \
    4352  --prefix=/cross-tools --host=${CLFS_HOST} --target=${CLFS_TARGET} \
    44   --with-sysroot=${CLFS} --with-lib-path=/tools/lib --disable-nls --enable-shared \
    45   --disable-multilib</userinput></screen>
     53  --with-sysroot=${CLFS} --with-lib-path=/tools/lib --disable-nls \
     54  --disable-static --disable-multilib</userinput></screen>
    4655
    4756    <variablelist os="bd">
    48       <title>The meaning of the configure options:</title>
     57      <title>The meaning of the new configure options:</title>
    4958
    5059      <varlistentry os="bd1">
    51         <term><parameter>--prefix=/cross-tools</parameter></term>
     60        <term><parameter>AR=ar AS=as</parameter></term>
    5261        <listitem>
    53           <para>This tells the configure script to prepare to install the
    54           package in the <filename class="directory">/cross-tools</filename>
    55           directory.</para>
     62          <para>This prevents Binutils from compiling with ${CLFS_HOST}-ar
     63           and ${CLFS_HOST}-as as they are provided by this package and therefore
     64           not installed yet.</para>
    5665        </listitem>
    5766      </varlistentry>
     
    93102
    94103      <varlistentry os="bd6">
    95         <term><parameter>--enable-shared</parameter></term>
    96         <listitem>
    97           <para>Enable the creation of the shared libraries.</para>
    98         </listitem>
    99       </varlistentry>
    100 
    101       <varlistentry os="bd7">
    102104        <term><parameter>--disable-multilib</parameter></term>
    103105        <listitem>
     
    134136    <filename class="directory">/tools/include</filename> directory:</para>
    135137
    136 <screen os="bk"><userinput>cp -v ../binutils-&binutils-version;/include/libiberty.h /tools/include</userinput></screen>
     138<screen os="bk"><userinput>cp -v ../binutils-&binutils-dir;/include/libiberty.h /tools/include</userinput></screen>
    137139
    138140  </sect2>
  • BOOK/cross-tools/common/binutils.xml

    rec008670 r229ed25  
    2828    enable.</para>
    2929
     30<!-- Branch update patch area
     31    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     32    href="../../final-system/common/binutils.xml"
     33    xpointer="xpointer(//*[@os='p1'])"/>
     34
     35    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     36    href="../../final-system/common/binutils.xml"
     37    xpointer="xpointer(//*[@os='p2'])"/>
     38-->
    3039    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    3140    href="../../final-system/common/binutils.xml"
     
    4049    xpointer="xpointer(//*[@os='i'])"/>
    4150
    42 <screen os="bc"><userinput>AR=ar AS=as ../binutils-&binutils-version;/configure \
     51<screen os="bc"><userinput>AR=ar AS=as ../binutils-&binutils-dir;/configure \
    4352  --prefix=/cross-tools --host=${CLFS_HOST} --target=${CLFS_TARGET} \
    44   --with-sysroot=${CLFS} --with-lib-path=/tools/lib --disable-nls --enable-shared \
    45   --enable-64-bit-bfd --disable-multilib</userinput></screen>
     53  --with-sysroot=${CLFS} --with-lib-path=/tools/lib --disable-nls \
     54  --disable-static --enable-64-bit-bfd --disable-multilib</userinput></screen>
    4655
    4756    <variablelist os="bd">
    48       <title>The meaning of the configure options:</title>
     57      <title>The meaning of the new configure options:</title>
    4958
    5059      <varlistentry os="bd1">
    51         <term><parameter>--prefix=/cross-tools</parameter></term>
     60        <term><parameter>AR=ar AS=as</parameter></term>
    5261        <listitem>
    53           <para>This tells the configure script to prepare to install the
    54           package in the <filename class="directory">/cross-tools</filename>
    55           directory.</para>
     62          <para>This prevents Binutils from compiling with ${CLFS_HOST}-ar
     63           and ${CLFS_HOST}-as as they are provided by this package and therefore
     64           not installed yet.</para>
    5665        </listitem>
    5766      </varlistentry>
     
    93102
    94103      <varlistentry os="bd6">
    95         <term><parameter>--enable-shared</parameter></term>
    96         <listitem>
    97           <para>Enable the creation of the shared libraries.</para>
    98         </listitem>
    99       </varlistentry>
    100 
    101       <varlistentry os="bd7">
    102104        <term><parameter>--disable-multilib</parameter></term>
    103105        <listitem>
     
    107109      </varlistentry>
    108110
    109       <varlistentry os="bd8">
     111      <varlistentry os="bd7">
    110112        <term><parameter>--enable-64-bit-bfd</parameter></term>
    111113        <listitem>
     
    141143    <filename class="directory">/tools/include</filename> directory:</para>
    142144
    143 <screen os="bk"><userinput>cp -v ../binutils-&binutils-version;/include/libiberty.h /tools/include</userinput></screen>
     145<screen os="bk"><userinput>cp -v ../binutils-&binutils-dir;/include/libiberty.h /tools/include</userinput></screen>
    144146
    145147  </sect2>
  • BOOK/cross-tools/common/cloog.xml

    rec008670 r229ed25  
    66]>
    77
    8 <sect1 id="ch-cross-tools-cloog-ppl" role="wrap">
    9   <?dbhtml filename="cloog-ppl.html"?>
     8<sect1 id="ch-cross-tools-cloog" role="wrap">
     9  <?dbhtml filename="cloog.html"?>
    1010
    11   <title>CLooG-PPL-&cloog-ppl-version;</title>
     11  <title>CLooG-&cloog-version;</title>
    1212
    13   <indexterm zone="ch-cross-tools-cloog-ppl">
    14     <primary sortas="a-CLooG-PPL">CLooG-PPL</primary>
     13  <indexterm zone="ch-cross-tools-cloog">
     14    <primary sortas="a-CLooG">CLooG</primary>
    1515    <secondary>cross-tools</secondary>
    1616  </indexterm>
    1717
    1818  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    19   href="../../final-system/common/cloog-ppl.xml"
     19  href="../../final-system/common/cloog.xml"
    2020  xpointer="xpointer(//*[@role='package'])"/>
    2121
    2222  <sect2 role="installation">
    23     <title>Installation of CLooG-PPL</title>
     23    <title>Installation of CLooG</title>
     24
     25    <para os="a">Prepare CLooG for compilation:</para>
     26
     27<screen os="b"><userinput>LDFLAGS="-Wl,-rpath,/cross-tools/lib" \
     28    ./configure --prefix=/cross-tools --disable-static \
     29    --with-gmp-prefix=/cross-tools --with-isl-prefix=/cross-tools</userinput></screen>
    2430
    2531    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    26     href="../../temp-system/common/cloog-ppl.xml"
     32    href="../../final-system/common/cloog.xml"
    2733    xpointer="xpointer(//*[@os='s1'])"/>
    2834
    2935    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    30     href="../../temp-system/common/cloog-ppl.xml"
     36    href="../../final-system/common/cloog.xml"
    3137    xpointer="xpointer(//*[@os='s2'])"/>
    32 
    33     <para os="a">Prepare CLooG-PPL for compilation:</para>
    34 
    35 <screen os="b"><userinput>LDFLAGS="-Wl,-rpath,/cross-tools/lib" \
    36     ./configure --prefix=/cross-tools --enable-shared --with-bits=gmp \
    37     --with-gmp=/cross-tools --with-ppl=/cross-tools</userinput></screen>
    3838
    3939    <para os="c">Compile the package:</para>
     
    5151
    5252    <para>Details on this package are located in <xref
    53     linkend="contents-cloog-ppl" role="."/></para>
     53    linkend="contents-cloog" role="."/></para>
    5454
    5555  </sect2>
  • BOOK/cross-tools/common/eglibc.xml

    rec008670 r229ed25  
    2727    risk.</para>
    2828
    29     <para os="db">Disable linking to <filename>libgcc_eh</filename>:</para>
     29    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     30    href="../../final-system/common/eglibc.xml"
     31    xpointer="xpointer(//*[@os='s1'])"/>
    3032
    31 <screen os="dc"><userinput>cp -v Makeconfig{,.orig}
    32 sed -e 's/-lgcc_eh//g' Makeconfig.orig > Makeconfig</userinput></screen>
     33    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     34    href="../../final-system/common/eglibc.xml"
     35    xpointer="xpointer(//*[@os='s2'])"/>
    3336
    3437    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    4043    xpointer="xpointer(//*[@os='f'])"/>
    4144
    42     <para os="dd">The following lines need to be added to
    43     <filename>config.cache</filename> for EGLIBC to support NPTL:</para>
     45    <para os="dd">Add the following to <filename>config.cache</filename>
     46    to disable ssp when building EGLIBC:</para>
    4447
    45 <screen os="de"><userinput>cat &gt; config.cache &lt;&lt; "EOF"
    46 libc_cv_forced_unwind=yes
    47 libc_cv_c_cleanup=yes
    48 libc_cv_gnu89_inline=yes
    49 libc_cv_ssp=no
    50 EOF</userinput></screen>
     48<screen os="de"><userinput>echo "libc_cv_ssp=no" &gt; config.cache</userinput></screen>
    5149
    5250    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    5856    ../eglibc-&eglibc-version;/configure --prefix=/tools \
    5957    --host=${CLFS_TARGET} --build=${CLFS_HOST} \
    60     --disable-profile --enable-add-ons \
    61     --with-tls --enable-kernel=2.6.0 --with-__thread \
    62     --with-binutils=/cross-tools/bin --with-headers=/tools/include \
     58    --disable-profile --with-tls --enable-kernel=2.6.32 \
     59    --with-__thread --with-binutils=/cross-tools/bin \
     60    --with-headers=/tools/include --enable-obsolete-rpc \
    6361    --cache-file=config.cache</userinput></screen>
    6462
     
    107105
    108106      <varlistentry os="dg6">
    109         <term><parameter>--enable-add-ons</parameter></term>
    110         <listitem>
    111           <para>This tells EGLIBC to utilize all add-ons that are
    112           available.</para>
    113         </listitem>
    114       </varlistentry>
    115 
    116       <varlistentry os="dg7">
    117107        <term><parameter>--with-tls</parameter></term>
    118108        <listitem>
     
    121111      </varlistentry>
    122112
    123       <varlistentry os="dg8">
    124         <term><parameter>--enable-kernel=2.6.0</parameter></term>
     113      <varlistentry os="dg7">
     114        <term><parameter>--enable-kernel=2.6.32</parameter></term>
    125115        <listitem>
    126116          <para>This tells EGLIBC to compile the library with support
    127           for 2.6.x Linux kernels.</para>
     117          for 2.6.32 and later Linux kernels.</para>
    128118        </listitem>
    129119      </varlistentry>
    130120
    131       <varlistentry os="dg9">
     121      <varlistentry os="dg8">
    132122        <term><parameter>--with-__thread</parameter></term>
    133123        <listitem>
     
    137127      </varlistentry>
    138128
    139       <varlistentry os="dg10">
     129      <varlistentry os="dg9">
    140130        <term><parameter>--with-binutils=/cross-tools/bin</parameter></term>
    141131        <listitem>
     
    145135      </varlistentry>
    146136
    147       <varlistentry os="dg11">
     137      <varlistentry os="dg10">
    148138        <term><parameter>--with-headers=/tools/include</parameter></term>
    149139        <listitem>
     
    155145      </varlistentry>
    156146
    157       <varlistentry os="dg12">
     147      <varlistentry os="dg11">
    158148        <term><parameter>--cache-file=config.cache</parameter></term>
    159149        <listitem>
  • BOOK/cross-tools/common/file.xml

    rec008670 r229ed25  
    66]>
    77
    8 <sect1 id="ch-cross-tools-file">
     8<sect1 id="ch-cross-tools-file" role="wrap">
    99  <?dbhtml filename="file.html"?>
    1010
     
    2525    <para>Prepare File for compilation:</para>
    2626
    27 <screen><userinput>./configure --prefix=/cross-tools</userinput></screen>
     27<screen><userinput>./configure --prefix=/cross-tools --disable-static</userinput></screen>
     28
     29    <variablelist>
     30      <title>The meaning of the configure options:</title>
     31
     32      <varlistentry>
     33        <term><parameter>--prefix=/cross-tools</parameter></term>
     34        <listitem>
     35          <para>This tells the configure script to prepare to install the
     36          package in the <filename class="directory">/cross-tools</filename>
     37          directory.</para>
     38        </listitem>
     39      </varlistentry>
     40
     41      <varlistentry>
     42        <term><parameter>--disable-static</parameter></term>
     43        <listitem>
     44          <para>This tells the File package not to compile or install static
     45          libraries, which are not needed for the Cross-Tools</para>
     46        </listitem>
     47      </varlistentry>
     48
     49    </variablelist>
    2850
    2951    <para>Compile the package:</para>
  • BOOK/cross-tools/common/gcc-final.xml

    rec008670 r229ed25  
    2424
    2525    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    26     href="gcc-static.xml"
     26    href="../../final-system/common/gcc.xml"
    2727    xpointer="xpointer(//*[@os='p1'])"/>
    2828
    2929    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    30     href="gcc-static.xml"
     30    href="../../final-system/common/gcc.xml"
    3131    xpointer="xpointer(//*[@os='p2'])"/>
    3232
     
    4949    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    5050    href="gcc-static.xml"
    51     xpointer="xpointer(//*[@os='ai'])"/>
    52 
    53     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    54     href="gcc-static.xml"
    55     xpointer="xpointer(//*[@os='aj'])"/>
    56 
    57     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    58     href="gcc-static.xml"
    5951    xpointer="xpointer(//*[@os='f'])"/>
    6052
     
    7062  ../gcc-&gcc-version;/configure --prefix=/cross-tools \
    7163  --build=${CLFS_HOST} --target=${CLFS_TARGET} --host=${CLFS_HOST} \
    72   --with-sysroot=${CLFS} --with-local-prefix=/tools --disable-nls \
    73   --enable-shared --enable-languages=c,c++ --enable-__cxa_atexit \
    74   --with-mpfr=/cross-tools --with-gmp=/cross-tools --enable-c99 \
    75   --with-ppl=/cross-tools --with-cloog=/cross-tools \
    76   --enable-long-long --enable-threads=posix --disable-multilib</userinput></screen>
     64  --with-sysroot=${CLFS} --with-local-prefix=/tools \
     65  --with-native-system-header-dir=/tools/include --disable-nls \
     66  --enable-shared --disable-static --enable-languages=c,c++ \
     67  --enable-__cxa_atexit --enable-c99 --enable-long-long --enable-threads=posix \
     68  --disable-multilib --with-mpc=/cross-tools --with-mpfr=/cross-tools \
     69  --with-gmp=/cross-tools --with-cloog=/cross-tools \
     70  --enable-cloog-backend=isl --with-isl=/cross-tools \
     71  --disable-isl-version-check --with-system-zlib --enable-checking=release \
     72  --enable-libstdcxx-time</userinput></screen>
    7773
    7874    <variablelist os="bg">
  • BOOK/cross-tools/common/gcc-static.xml

    rec008670 r229ed25  
    2424    and no Threads</title>
    2525
    26     <para os="p1">The following patch contains a number of updates to the
    27     &gcc-version; branch by the GCC developers:</para>
    28 
    29     <screen os="p2"><userinput>patch -Np1 -i ../&gcc-branch_update-patch;</userinput></screen>
     26    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     27    href="../../final-system/common/gcc.xml"
     28    xpointer="xpointer(//*[@os='p1'])"/>
     29
     30    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     31    href="../../final-system/common/gcc.xml"
     32    xpointer="xpointer(//*[@os='p2'])"/>
    3033
    3134    <para os="aa">Make a couple of essential adjustments to the
     
    3538<screen os="ab"><userinput>patch -Np1 -i ../&gcc-specs-patch;</userinput></screen>
    3639
    37     <para os="ag">Change the StartFile Spec and Standard Include Dir so that
    38     GCC looks in <filename class="directory">/tools</filename>:</para>
    39 
    40 <screen os="ah"><userinput>echo -en '#undef STANDARD_INCLUDE_DIR\n#define STANDARD_INCLUDE_DIR "/tools/include/"\n\n' >> gcc/config/linux.h
    41 echo -en '\n#undef STANDARD_STARTFILE_PREFIX_1\n#define STANDARD_STARTFILE_PREFIX_1 "/tools/lib/"\n' >> gcc/config/linux.h
     40    <para os="ag">Change the StartFile Spec so that GCC looks in
     41<filename class="directory">/tools</filename>:</para>
     42
     43<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
    4244echo -en '\n#undef STANDARD_STARTFILE_PREFIX_2\n#define STANDARD_STARTFILE_PREFIX_2 ""\n' >> gcc/config/linux.h</userinput></screen>
    43 
    44     <para os="ai">Now alter <command>gcc</command>'s c preprocessor's default
    45     include search path to use <filename class="directory">/tools</filename> only:</para>
    46 
    47 <screen os="aj"><userinput>cp -v gcc/Makefile.in{,.orig}
    48 sed -e "s@\(^CROSS_SYSTEM_HEADER_DIR =\).*@\1 /tools/include@g" \
    49     gcc/Makefile.in.orig &gt; gcc/Makefile.in</userinput></screen>
    5045
    5146    <para os="t1">We will create a dummy <filename>limits.h</filename> so
     
    6964  ../gcc-&gcc-version;/configure --prefix=/cross-tools \
    7065  --build=${CLFS_HOST} --host=${CLFS_HOST} --target=${CLFS_TARGET} \
    71   --with-sysroot=${CLFS} --with-local-prefix=/tools --disable-nls \
     66  --with-sysroot=${CLFS} --with-local-prefix=/tools \
     67  --with-native-system-header-dir=/tools/include --disable-nls \
    7268  --disable-shared --with-mpfr=/cross-tools --with-gmp=/cross-tools \
    73   --with-ppl=/cross-tools --with-cloog=/cross-tools \
    74   --without-headers --with-newlib --disable-decimal-float \
    75   --disable-libgomp --disable-libmudflap --disable-libssp \
    76   --disable-threads --enable-languages=c --disable-multilib</userinput></screen>
     69  --with-isl=/cross-tools --with-cloog=/cross-tools --with-mpc=/cross-tools \
     70  --without-headers --with-newlib --disable-decimal-float --disable-libgomp \
     71  --disable-libmudflap --disable-libssp --disable-threads --disable-multilib \
     72  --disable-libatomic --disable-libitm --disable-libsanitizer \
     73  --disable-libquadmath --disable-target-libiberty --disable-target-zlib \
     74  --with-system-zlib --enable-cloog-backend=isl --disable-isl-version-check \
     75  --enable-languages=c --enable-checking=release</userinput></screen>
    7776
    7877    <variablelist os="am">
    79       <title>The meaning of the configure options:</title>
     78      <title>The meaning of the new configure options:</title>
     79
     80      <varlistentry>
     81        <term><parameter>--with-sysroot=${CLFS}</parameter></term>
     82        <listitem>
     83          <para>Tells GCC to consider ${CLFS} as the root file system.</para>
     84        </listitem>
     85      </varlistentry>
    8086
    8187     <varlistentry>
     
    9096      </varlistentry>
    9197
    92       <varlistentry>
    93         <term><parameter>--disable-shared</parameter></term>
    94         <listitem>
    95           <para>Disables the creation of the shared libraries.</para>
     98
     99      <varlistentry>
     100        <term><parameter>--with-native-system-headers-dir=/tools/include</parameter></term>
     101        <listitem>
     102          <para>This switch ensures that GCC will search for the system headers
     103           in <filename class="directory">/tools/include</filename> and that
     104           host system headers will not be searched.</para>
     105        </listitem>
     106      </varlistentry>
     107
     108      <varlistentry>
     109        <term><parameter>--disable-nls</parameter></term>
     110        <listitem>
     111          <para>This disables internationalization as i18n is not needed for the
     112          cross-compile tools.</para>
     113        </listitem>
     114      </varlistentry>
     115
     116      <varlistentry>
     117        <term><parameter>--without-headers</parameter></term>
     118        <listitem>
     119          <para>Disables GCC from using the target's Libc when cross compiling.</para>
     120        </listitem>
     121      </varlistentry>
     122
     123      <varlistentry>
     124        <term><parameter>--with-newlib</parameter></term>
     125        <listitem>
     126          <para>Tells GCC that the target libc will use 'newlib'.</para>
     127        </listitem>
     128      </varlistentry>
     129
     130      <varlistentry>
     131        <term><parameter>--disable-decimal-float</parameter></term>
     132        <listitem>
     133          <para>Disables support for the C decimal floating point extension.</para>
     134        </listitem>
     135      </varlistentry>
     136
     137      <varlistentry>
     138        <term><parameter>--disable-libgomp</parameter></term>
     139        <listitem>
     140          <para>Disables the creation of runtime libraries used by GOMP.</para>
     141        </listitem>
     142      </varlistentry>
     143
     144      <varlistentry>
     145        <term><parameter>--disable-libmudflap</parameter></term>
     146        <listitem>
     147          <para>Disables the creation of runtime libaries used by libmudflap.</para>
     148        </listitem>
     149      </varlistentry>
     150
     151      <varlistentry>
     152        <term><parameter>--disable-libssp</parameter></term>
     153        <listitem>
     154          <para>Disables the use of Stack Smashing Protection for runtime libraries.</para>
    96155        </listitem>
    97156      </varlistentry>
     
    108167
    109168      <varlistentry>
     169        <term><parameter>--disable-libatomic</parameter></term>
     170        <listitem>
     171          <para>The atomic library isn't needed at this time.</para>
     172        </listitem>
     173      </varlistentry>
     174
     175      <varlistentry>
     176        <term><parameter>--disable-libitm</parameter></term>
     177        <listitem>
     178          <para>The itm library isn't neeeded at this tiem.</para>
     179        </listitem>
     180      </varlistentry>
     181
     182      <varlistentry>
     183        <term><parameter>--disable-libsanitizer</parameter></term>
     184        <listitem>
     185          <para>The sanitizer library isn't needed at this time.</para>
     186        </listitem>
     187      </varlistentry>
     188
     189      <varlistentry>
     190        <term><parameter>--disable-libquadmath</parameter></term>
     191        <listitem>
     192          <para>The quadmath library isn't needed at this time.</para>
     193        </listitem>
     194      </varlistentry>
     195
     196      <varlistentry>
    110197        <term><parameter>--enable-languages=c</parameter></term>
    111198        <listitem>
     
    114201      </varlistentry>
    115202
     203      <varlistentry>
     204        <term><parameter>--enable-checking=release</parameter></term>
     205        <listitem>
     206          <para>This option selects the complexity of the internal consistency checks and adds error checking within the compiler.</para>
     207        </listitem>
     208      </varlistentry>
     209
    116210    </variablelist>
    117211
     
    120214<screen os="ao"><userinput>make all-gcc all-target-libgcc</userinput></screen>
    121215
    122     <para os="ap">Install the package:</para>
    123 
    124 <screen os="aq"><userinput>make install-gcc install-target-libgcc</userinput></screen>
     216    <variablelist os="ap">
     217      <title>The meaning of the new make options:</title>
     218
     219      <varlistentry>
     220        <term><parameter>all-gcc all-target-libgcc</parameter></term>
     221        <listitem>
     222          <para>Compiles only the parts of GCC that are needed at this time,
     223          rather than the full package.</para>
     224        </listitem>
     225      </varlistentry>
     226
     227    </variablelist>
     228
     229    <para os="aq">Install the package:</para>
     230
     231<screen os="ar"><userinput>make install-gcc install-target-libgcc</userinput></screen>
    125232
    126233  </sect2>
  • BOOK/cross-tools/common/gmp.xml

    rec008670 r229ed25  
    3333-->
    3434
     35    <note os="n1">
     36      <para>If you are building with a host which has 32-bit user-space with a
     37      64-bit capable CPU, cross-tools GMP will attempt to link with 64-bit
     38      libraries. Add the following variable during <command>configure</command>
     39      to force GMP's ABI: <command>./configure ABI=32</command></para>
     40    </note>
     41
    3542    <para os="a">Prepare GMP for compilation:</para>
    3643
    37 <screen os="b"><userinput>CPPFLAGS=-fexceptions ./configure \
    38     --prefix=/cross-tools --enable-cxx</userinput></screen>
     44<screen os="b"><userinput>./configure --prefix=/cross-tools --enable-cxx \
     45  --disable-static</userinput></screen>
     46
     47    <variablelist os="b1">
     48      <title>The meaning of the new configure options:</title>
     49
     50      <varlistentry>
     51        <term><parameter>--enable-cxx</parameter></term>
     52        <listitem>
     53          <para>This tells GMP to enable C++ support.</para>
     54        </listitem>
     55      </varlistentry>
     56
     57    </variablelist>
    3958
    4059    <para os="c">Compile the package:</para>
  • BOOK/cross-tools/common/introduction.xml

    rec008670 r229ed25  
    2222    <important>
    2323      <para>Before issuing the build instructions for a package, the package
    24       should be unpacked as user <systemitem class="username">clfs</systemitem>,
    25       and a <command>cd</command> into the created directory should be
    26       performed. The build instructions assume that the <command>bash</command>
    27       shell is in use.</para>
     24      should be unpacked, and a <command>cd</command> into the created
     25      directory should be performed.</para>
    2826    </important>
    2927
  • BOOK/cross-tools/common/isl.xml

    rec008670 r229ed25  
    66]>
    77
    8 <sect1 id="ch-cross-tools-ppl" role="wrap">
    9   <?dbhtml filename="ppl.html"?>
     8<sect1 id="ch-cross-tools-isl" role="wrap">
     9  <?dbhtml filename="isl.html"?>
    1010
    11   <title>PPL-&ppl-version;</title>
     11  <title>ISL-&isl-version;</title>
    1212
    13   <indexterm zone="ch-cross-tools-ppl">
    14     <primary sortas="a-PPL">PPL</primary>
     13  <indexterm zone="ch-cross-tools-isl">
     14    <primary sortas="a-ISL">ISL</primary>
    1515    <secondary>cross-tools</secondary>
    1616  </indexterm>
    1717
    1818  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    19   href="../../final-system/common/ppl.xml"
     19  href="../../final-system/common/isl.xml"
    2020  xpointer="xpointer(//*[@role='package'])"/>
    2121
    2222  <sect2 role="installation">
    23     <title>Installation of PPL</title>
     23    <title>Installation of ISL</title>
    2424
    25     <para os="a">Prepare PPL for compilation:</para>
     25    <para os="a">Prepare ISL for compilation:</para>
    2626
    27 <screen os="b"><userinput>CPPFLAGS="-I/cross-tools/include" \
    28     LDFLAGS="-Wl,-rpath,/cross-tools/lib" \
    29     ./configure --prefix=/cross-tools --enable-shared \
    30     --enable-interfaces="c,cxx" --disable-optimization \
    31     --with-libgmp-prefix=/cross-tools \
    32     --with-libgmpxx-prefix=/cross-tools</userinput></screen>
     27<screen os="b"><userinput>LDFLAGS="-Wl,-rpath,/cross-tools/lib" \
     28./configure --prefix=/cross-tools --disable-static \
     29    --with-gmp-prefix=/cross-tools</userinput></screen>
    3330
    3431    <para os="c">Compile the package:</para>
     
    4643
    4744    <para>Details on this package are located in <xref
    48     linkend="contents-ppl" role="."/></para>
     45    linkend="contents-isl" role="."/></para>
    4946
    5047  </sect2>
  • BOOK/cross-tools/common/mpc.xml

    rec008670 r229ed25  
    2626
    2727<screen os="b"><userinput>LDFLAGS="-Wl,-rpath,/cross-tools/lib" \
    28 ./configure --prefix=/cross-tools \
    29     --with-gmp=/cross-tools \
    30     --with-mpfr=/cross-tools</userinput></screen>
     28./configure --prefix=/cross-tools --disable-static \
     29    --with-gmp=/cross-tools --with-mpfr=/cross-tools</userinput></screen>
    3130
    3231    <para os="c">Compile the package:</para>
  • BOOK/cross-tools/common/mpfr.xml

    rec008670 r229ed25  
    2323    <title>Installation of MPFR</title>
    2424
     25    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     26    href="../../final-system/common/mpfr.xml"
     27    xpointer="xpointer(//*[@os='p1'])"/>
     28
     29    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     30    href="../../final-system/common/mpfr.xml"
     31    xpointer="xpointer(//*[@os='p2'])"/>
     32
    2533    <para os="a">Prepare MPFR for compilation:</para>
    2634
    2735<screen os="b"><userinput>LDFLAGS="-Wl,-rpath,/cross-tools/lib" \
    2836./configure --prefix=/cross-tools \
    29     --enable-shared --with-gmp=/cross-tools</userinput></screen>
     37    --disable-static --with-gmp=/cross-tools</userinput></screen>
     38
     39    <variablelist os="b1">
     40      <title>The meaning of the new configure options:</title>
     41
     42      <varlistentry>
     43        <term><parameter>LDFLAGS="-Wl,-rpath,/cross-tools/lib"</parameter></term>
     44        <listitem>
     45          <para>This tells <command>configure</command> to search in
     46          <filename class="directory">/cross-tools</filename> for libraries.</para>
     47        </listitem>
     48      </varlistentry>
     49
     50      <varlistentry>
     51        <term><parameter>--enable-shared</parameter></term>
     52        <listitem>
     53          <para>This tells <command>configure</command> to build MPFR's
     54          shared libraries.</para>
     55        </listitem>
     56      </varlistentry>
     57
     58      <varlistentry>
     59        <term><parameter>--with-gmp=/cross-tools</parameter></term>
     60        <listitem>
     61          <para>This tells <command>configure</command> where to find GMP.</para>
     62        </listitem>
     63      </varlistentry>
     64
     65    </variablelist>
    3066
    3167    <para os="c">Compile the package:</para>
  • BOOK/cross-tools/common/ncurses.xml

    rec008670 r229ed25  
    3636    --without-debug --without-shared</userinput></screen>
    3737
     38    <variablelist os="b1">
     39      <title>The meaning of the new configure options:</title>
     40
     41      <varlistentry os="b2">
     42        <term><parameter>--without-debug</parameter></term>
     43        <listitem>
     44          <para>Tells Ncurses to build without debugging information.</para>
     45        </listitem>
     46      </varlistentry>
     47
     48      <varlistentry os="b2">
     49        <term><parameter>--without-shared</parameter></term>
     50        <listitem>
     51          <para>This prevents Ncurses from building its shared libraries, which
     52          are not needed at this time.</para>
     53        </listitem>
     54      </varlistentry>
     55
     56    </variablelist>
     57
    3858    <para os="c">Only one binary is needed for the Cross-Tools. Build the
    3959    headers and then build <command>tic</command>:</para>
  • BOOK/cross-tools/mips-chapter.xml

    rec008670 r229ed25  
    1515  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cflags.xml"/>
    1616  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/variables.xml"/>
     17  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
    1718  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/linux-headers.xml"/>
    1819  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/file.xml"/>
     
    2223  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/mpfr.xml"/>
    2324  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/mpc.xml"/>
    24   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/ppl.xml"/>
    25   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cloog-ppl.xml"/>
     25  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/isl.xml"/>
     26  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cloog.xml"/>
    2627  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/binutils-32.xml"/>
    27   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/gcc-static.xml"/>
     28  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/gcc-static.xml"/>
    2829  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/eglibc.xml"/>
    29   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/gcc-final.xml"/>
     30  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/gcc-final.xml"/>
    3031
    3132</chapter>
  • BOOK/cross-tools/mips/eglibc.xml

    rec008670 r229ed25  
    2828
    2929    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    30     href="../../final-system/mips/eglibc.xml"
    31     xpointer="xpointer(//*[@os='g1'])"/>
     30    href="../../final-system/common/eglibc.xml"
     31    xpointer="xpointer(//*[@os='s1'])"/>
    3232
    3333    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    34     href="../../final-system/mips/eglibc.xml"
    35     xpointer="xpointer(//*[@os='g2'])"/>
    36 
    37     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    38     href="../common/eglibc.xml"
    39     xpointer="xpointer(//*[@os='db'])"/>
    40 
    41     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    42     href="../common/eglibc.xml"
    43     xpointer="xpointer(//*[@os='dc'])"/>
     34    href="../../final-system/common/eglibc.xml"
     35    xpointer="xpointer(//*[@os='s2'])"/>
    4436
    4537    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/cross-tools/mips/linux-headers.xml

    rec008670 r229ed25  
    3131    xpointer="xpointer(//*[@os='b'])"/>
    3232
    33 <screen os="c"><userinput>install -dv /tools/include
    34 make mrproper
     33<screen os="c"><userinput>make mrproper
    3534make ARCH=mips headers_check
    36 make ARCH=mips INSTALL_HDR_PATH=dest headers_install
    37 cp -rv dest/include/* /tools/include</userinput></screen>
     35make ARCH=mips INSTALL_HDR_PATH=/tools headers_install</userinput></screen>
    3836
    3937    <variablelist os="d">
     
    5351
    5452      <varlistentry os="d3">
    55         <term><parameter>make ARCH=mips INSTALL_HDR_PATH=dest headers_install</parameter></term>
     53        <term><parameter>make ARCH=mips INSTALL_HDR_PATH=/tools headers_install</parameter></term>
    5654        <listitem>
    57           <para>Normally the headers_install target removes the entire
    58           destination directory (default
    59           <filename class="directory">/usr/include</filename>) before
    60           installing the headers. To prevent this, we tell the kernel to
    61           install the headers to a directory inside the source dir.</para>
     55          <para>This will install the kernel headers into
     56          <filename class="directory">/tools/include</filename>.</para>
    6257        </listitem>
    6358      </varlistentry>
  • BOOK/cross-tools/mips64-64-chapter.xml

    rec008670 r229ed25  
    1616  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64-64/variables.xml"/>
    1717  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64-64/flags.xml"/>
     18  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
    1819  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/linux-headers.xml"/>
    1920  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/file.xml"/>
     
    2324  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/mpfr.xml"/>
    2425  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/mpc.xml"/>
    25   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/ppl.xml"/>
    26   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cloog-ppl.xml"/>
     26  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/isl.xml"/>
     27  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cloog.xml"/>
    2728  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/binutils.xml"/>
    2829  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64-64/gcc-static.xml"/>
  • BOOK/cross-tools/mips64-64/eglibc.xml

    rec008670 r229ed25  
    2828
    2929    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    30     href="../mips/eglibc.xml"
    31     xpointer="xpointer(//*[@os='g1'])"/>
    32 
    33     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    34     href="../mips/eglibc.xml"
    35     xpointer="xpointer(//*[@os='g2'])"/>
    36 
    37     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    38     href="../common/eglibc.xml"
    39     xpointer="xpointer(//*[@os='db'])"/>
    40 
    41     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    42     href="../common/eglibc.xml"
    43     xpointer="xpointer(//*[@os='dc'])"/>
    44 
    45     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    4630    href="../../final-system/mips64/eglibc-64bit.xml"
    4731    xpointer="xpointer(//*[@os='m3'])"/>
     
    5034    href="../../final-system/mips64/eglibc-64bit.xml"
    5135    xpointer="xpointer(//*[@os='m4'])"/>
     36
     37    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     38    href="../../final-system/common/eglibc.xml"
     39    xpointer="xpointer(//*[@os='s1'])"/>
     40
     41    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     42    href="../../final-system/common/eglibc.xml"
     43    xpointer="xpointer(//*[@os='s2'])"/>
    5244
    5345    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    10799    xpointer="xpointer(//*[@os='dn'])"/>
    108100
     101    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     102    href="../x86_64-64/eglibc.xml"
     103    xpointer="xpointer(//*[@os='do'])"/>
     104
     105    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     106    href="../x86_64-64/eglibc.xml"
     107    xpointer="xpointer(//*[@os='dp'])"/>
     108
    109109  </sect2>
    110110
  • BOOK/cross-tools/mips64-64/gcc-final.xml

    rec008670 r229ed25  
    2424
    2525    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    26     href="gcc-static.xml"
     26    href="../../final-system/common/gcc.xml"
    2727    xpointer="xpointer(//*[@os='p1'])"/>
    28    
     28
    2929    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    30     href="gcc-static.xml"
     30    href="../../final-system/common/gcc.xml"
    3131    xpointer="xpointer(//*[@os='p2'])"/>
    32 
    3332
    3433    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    5049    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    5150    href="gcc-static.xml"
    52     xpointer="xpointer(//*[@os='ai'])"/>
    53 
    54     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    55     href="gcc-static.xml"
    56     xpointer="xpointer(//*[@os='aj'])"/>
    57 
    58     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    59     href="gcc-static.xml"
    6051    xpointer="xpointer(//*[@os='f'])"/>
    6152
     
    7162  ../gcc-&gcc-version;/configure --prefix=/cross-tools \
    7263  --build=${CLFS_HOST} --target=${CLFS_TARGET} --host=${CLFS_HOST} \
    73   --with-sysroot=${CLFS} --with-local-prefix=/tools --disable-nls \
    74   --enable-shared --enable-languages=c,c++ --enable-__cxa_atexit \
    75   --with-mpfr=/cross-tools --with-gmp=/cross-tools --enable-c99 \
    76   --with-ppl=/cross-tools --with-cloog=/cross-tools \
    77   --enable-long-long --enable-threads=posix --with-abi=64</userinput></screen>
     64  --with-sysroot=${CLFS} --with-local-prefix=/tools \
     65  --with-native-system-header-dir=/tools/include --disable-nls \
     66  --disable-shared --with-mpfr=/cross-tools --with-gmp=/cross-tools \
     67  --with-isl=/cross-tools --with-cloog=/cross-tools --with-mpc=/cross-tools \
     68  --without-headers --with-newlib --disable-decimal-float --disable-libgomp \
     69  --disable-libmudflap --disable-libssp --disable-threads --disable-multilib \
     70  --disable-libatomic --disable-libitm --disable-libsanitizer \
     71  --disable-libquadmath --disable-target-libiberty --disable-target-zlib \
     72  --with-system-zlib --enable-cloog-backend=isl --disable-isl-version-check \
     73  --enable-languages=c --enable-checking=release --with-abi=64
     74  </userinput></screen>
    7875
    7976    <variablelist os="bg">
  • BOOK/cross-tools/mips64-64/gcc-static.xml

    rec008670 r229ed25  
    2525
    2626    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    27     href="../common/gcc-static.xml"
     27    href="../../final-system/common/gcc.xml"
    2828    xpointer="xpointer(//*[@os='p1'])"/>
    2929
    3030    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    31     href="../64/gcc-static.xml"
     31    href="../../final-system/common/gcc.xml"
    3232    xpointer="xpointer(//*[@os='p2'])"/>
    3333
     
    4747    href="../common/gcc-static.xml"
    4848    xpointer="xpointer(//*[@os='ah'])"/>
    49 
    50     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    51     href="../common/gcc-static.xml"
    52     xpointer="xpointer(//*[@os='ai'])"/>
    53 
    54     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    55     href="../common/gcc-static.xml"
    56     xpointer="xpointer(//*[@os='aj'])"/>
    5749
    5850    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    7971  ../gcc-&gcc-version;/configure --prefix=/cross-tools \
    8072  --build=${CLFS_HOST} --host=${CLFS_HOST} --target=${CLFS_TARGET} \
    81   --with-sysroot=${CLFS} --with-local-prefix=/tools --disable-nls \
    82   --disable-shared --with-mpfr=/cross-tools --with-gmp=/cross-tools \
    83   --with-ppl=/cross-tools --with-cloog=/cross-tools \
    84   --without-headers --with-newlib --disable-decimal-float \
    85   --disable-libgomp --disable-libmudflap --disable-libssp \
    86   --disable-threads --enable-languages=c --with-abi=64</userinput></screen>
     73  --with-sysroot=${CLFS} --with-local-prefix=/tools \
     74  --with-native-system-header-dir=/tools/include --disable-nls \
     75  --enable-shared --disable-static --enable-languages=c,c++ \
     76  --enable-__cxa_atexit --enable-c99 --enable-long-long --enable-threads=posix \
     77  --disable-multilib --with-mpc=/cross-tools --with-mpfr=/cross-tools \
     78  --with-gmp=/cross-tools --with-cloog=/cross-tools --enable-cloog-backend=isl \
     79  --with-isl=/cross-tools --disable-isl-version-check --with-system-zlib \
     80  --enable-checking=release --enable-libstdcxx-time --with-abi=64</userinput></screen>
    8781
    8882    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    106100    xpointer="xpointer(//*[@os='aq'])"/>
    107101
     102    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     103    href="../common/gcc-static.xml"
     104    xpointer="xpointer(//*[@os='ar'])"/>
     105
    108106  </sect2>
    109107
  • BOOK/cross-tools/mips64-chapter.xml

    rec008670 r229ed25  
    1616  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/variables.xml"/>
    1717  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/flags.xml"/>
     18  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
    1819  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/linux-headers.xml"/>
    1920  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/file.xml"/>
     
    2324  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/mpfr.xml"/>
    2425  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/mpc.xml"/>
    25   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/ppl.xml"/>
    26   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cloog-ppl.xml"/>
     26  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/isl.xml"/>
     27  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cloog.xml"/>
    2728  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/binutils.xml"/>
    28   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/gcc-static.xml"/>
     29  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/gcc-static.xml"/>
    2930  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/eglibc.xml"/>
    3031  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/eglibc-n32.xml"/>
    3132  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/eglibc-64bit.xml"/>
    32   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/gcc-final.xml"/>
     33  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/gcc-final.xml"/>
    3334
    3435</chapter>
  • BOOK/cross-tools/mips64/eglibc-64bit.xml

    rec008670 r229ed25  
    2828
    2929    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    30     href="eglibc.xml"
    31     xpointer="xpointer(//*[@os='g1'])"/>
    32 
    33     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    34     href="eglibc.xml"
    35     xpointer="xpointer(//*[@os='g2'])"/>
    36 
    37     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    38     href="eglibc.xml"
    39     xpointer="xpointer(//*[@os='db'])"/>
    40 
    41     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    42     href="eglibc.xml"
    43     xpointer="xpointer(//*[@os='dc'])"/>
    44 
    45     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    4630    href="../../final-system/mips64/eglibc-64bit.xml"
    4731    xpointer="xpointer(//*[@os='m3'])"/>
     
    5034    href="../../final-system/mips64/eglibc-64bit.xml"
    5135    xpointer="xpointer(//*[@os='m4'])"/>
     36
     37    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     38    href="../../final-system/common/eglibc.xml"
     39    xpointer="xpointer(//*[@os='s1'])"/>
     40
     41    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     42    href="../../final-system/common/eglibc.xml"
     43    xpointer="xpointer(//*[@os='s2'])"/>
    5244
    5345    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/cross-tools/mips64/eglibc-n32.xml

    rec008670 r229ed25  
    2828
    2929    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    30     href="eglibc.xml"
    31     xpointer="xpointer(//*[@os='g1'])"/>
    32 
    33     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    34     href="eglibc.xml"
    35     xpointer="xpointer(//*[@os='g2'])"/>
    36 
    37     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    38     href="eglibc.xml"
    39     xpointer="xpointer(//*[@os='db'])"/>
    40 
    41     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    42     href="eglibc.xml"
    43     xpointer="xpointer(//*[@os='dc'])"/>
    44 
    45     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    4630    href="../../final-system/mips64/eglibc-64bit.xml"
    4731    xpointer="xpointer(//*[@os='m3'])"/>
     
    5034    href="../../final-system/mips64/eglibc-64bit.xml"
    5135    xpointer="xpointer(//*[@os='m4'])"/>
     36
     37    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     38    href="../../final-system/common/eglibc.xml"
     39    xpointer="xpointer(//*[@os='s1'])"/>
     40
     41    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     42    href="../../final-system/common/eglibc.xml"
     43    xpointer="xpointer(//*[@os='s2'])"/>
    5244
    5345    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    8072    ../eglibc-&eglibc-version;/configure --prefix=/tools \
    8173    --host=${CLFS_TARGET} --build=${CLFS_HOST} --libdir=/tools/lib32 \
    82     --disable-profile --enable-add-ons \
    83     --with-tls --enable-kernel=2.6.0 --with-__thread \
     74    --disable-profile --with-tls --enable-kernel=2.6.32 --with-__thread \
    8475    --with-binutils=/cross-tools/bin --with-headers=/tools/include \
    85     --cache-file=config.cache</userinput></screen>
     76    --enable-obsolete-rpc --cache-file=config.cache</userinput></screen>
    8677
    8778    <variablelist os="fa">
  • BOOK/cross-tools/mips64/eglibc.xml

    rec008670 r229ed25  
    2828
    2929    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    30     href="../mips/eglibc.xml"
    31     xpointer="xpointer(//*[@os='g1'])"/>
     30    href="../../final-system/common/eglibc.xml"
     31    xpointer="xpointer(//*[@os='s1'])"/>
    3232
    3333    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    34     href="../mips/eglibc.xml"
    35     xpointer="xpointer(//*[@os='g2'])"/>
    36 
    37     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    38     href="../common/eglibc.xml"
    39     xpointer="xpointer(//*[@os='db'])"/>
    40 
    41     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    42     href="../common/eglibc.xml"
    43     xpointer="xpointer(//*[@os='dc'])"/>
     34    href="../../final-system/common/eglibc.xml"
     35    xpointer="xpointer(//*[@os='s2'])"/>
    4436
    4537    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/cross-tools/multilib/binutils.xml

    rec008670 r229ed25  
    2727    xpointer="xpointer(//*[@os='da'])"/>
    2828
     29<!-- Branch update patch area
     30    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     31    href="../../final-system/common/binutils.xml"
     32    xpointer="xpointer(//*[@os='p1'])"/>
     33
     34    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     35    href="../../final-system/common/binutils.xml"
     36    xpointer="xpointer(//*[@os='p2'])"/>
     37-->
    2938    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    3039    href="../common/binutils.xml"
     
    3948    xpointer="xpointer(//*[@os='i'])"/>
    4049
    41 <screen os="bc"><userinput>AR=ar AS=as ../binutils-&binutils-version;/configure \
     50<screen os="bc"><userinput>AR=ar AS=as ../binutils-&binutils-dir;/configure \
    4251  --prefix=/cross-tools --host=${CLFS_HOST} --target=${CLFS_TARGET} \
    43   --with-sysroot=${CLFS} --with-lib-path=/tools/lib --disable-nls --enable-shared \
    44   --enable-64-bit-bfd</userinput></screen>
     52  --with-sysroot=${CLFS} --with-lib-path=/tools/lib:/tools/lib64 \
     53  --disable-nls --disable-static --enable-64-bit-bfd</userinput></screen>
    4554
    4655    <variablelist os="bd">
     
    7382      <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    7483      href="../common/binutils.xml"
    75       xpointer="xpointer(//*[@os='bd8'])"/>
     84      xpointer="xpointer(//*[@os='bd7'])"/>
    7685
    7786    </variablelist>
  • BOOK/cross-tools/multilib/eglibc-64bit.xml

    rec008670 r229ed25  
    2828
    2929    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    30     href="eglibc.xml"
    31     xpointer="xpointer(//*[@os='db'])"/>
     30    href="../../final-system/common/eglibc.xml"
     31    xpointer="xpointer(//*[@os='s1'])"/>
    3232
    3333    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    34     href="eglibc.xml"
    35     xpointer="xpointer(//*[@os='dc'])"/>
     34    href="../../final-system/common/eglibc.xml"
     35    xpointer="xpointer(//*[@os='s2'])"/>
    3636
    3737    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    6464    ../eglibc-&eglibc-version;/configure --prefix=/tools \
    6565    --host=${CLFS_TARGET} --build=${CLFS_HOST} --libdir=/tools/lib64 \
    66     --disable-profile --enable-add-ons \
    67     --with-tls --enable-kernel=2.6.0 --with-__thread \
     66    --disable-profile --with-tls --enable-kernel=2.6.32 --with-__thread \
    6867    --with-binutils=/cross-tools/bin --with-headers=/tools/include \
    69     --cache-file=config.cache</userinput></screen>
     68    --enable-obsolete-rpc --cache-file=config.cache</userinput></screen>
    7069
    7170    <variablelist os="dg">
  • BOOK/cross-tools/multilib/eglibc.xml

    rec008670 r229ed25  
    2828
    2929    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    30     href="../common/eglibc.xml"
    31     xpointer="xpointer(//*[@os='db'])"/>
     30    href="../../final-system/common/eglibc.xml"
     31    xpointer="xpointer(//*[@os='s1'])"/>
    3232
    3333    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    34     href="../common/eglibc.xml"
    35     xpointer="xpointer(//*[@os='dc'])"/>
     34    href="../../final-system/common/eglibc.xml"
     35    xpointer="xpointer(//*[@os='s2'])"/>
    3636
    3737    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    5959    ../eglibc-&eglibc-version;/configure --prefix=/tools \
    6060    --host=${CLFS_TARGET32} --build=${CLFS_HOST} \
    61     --disable-profile --enable-add-ons \
    62     --with-tls --enable-kernel=2.6.0 --with-__thread \
     61    --disable-profile --with-tls --enable-kernel=2.6.32 --with-__thread \
    6362    --with-binutils=/cross-tools/bin --with-headers=/tools/include \
    64     --cache-file=config.cache</userinput></screen>
     63    --enable-obsolete-rpc --cache-file=config.cache</userinput></screen>
    6564
    6665    <variablelist os="dg">
     
    111110      xpointer="xpointer(//*[@os='dg10'])"/>
    112111
     112      <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     113      href="../common/eglibc.xml"
     114      xpointer="xpointer(//*[@os='dg11'])"/>
     115
    113116    </variablelist>
    114117
  • BOOK/cross-tools/multilib/gcc-final.xml

    rec008670 r229ed25  
    2424
    2525    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    26     href="gcc-static.xml"
     26    href="../../final-system/common/gcc.xml"
    2727    xpointer="xpointer(//*[@os='p1'])"/>
    2828
    2929    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    30     href="gcc-static.xml"
     30    href="../../final-system/common/gcc.xml"
    3131    xpointer="xpointer(//*[@os='p2'])"/>
    3232
     
    4949    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    5050    href="gcc-static.xml"
    51     xpointer="xpointer(//*[@os='ai'])"/>
    52 
    53     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    54     href="gcc-static.xml"
    55     xpointer="xpointer(//*[@os='aj'])"/>
    56 
    57     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    58     href="gcc-static.xml"
    5951    xpointer="xpointer(//*[@os='f'])"/>
    6052
     
    7062  ../gcc-&gcc-version;/configure --prefix=/cross-tools \
    7163  --build=${CLFS_HOST} --target=${CLFS_TARGET} --host=${CLFS_HOST} \
    72   --with-sysroot=${CLFS} --with-local-prefix=/tools --disable-nls \
    73   --enable-shared --enable-languages=c,c++ --enable-__cxa_atexit \
    74   --with-mpfr=/cross-tools --with-gmp=/cross-tools --enable-c99 \
    75   --with-ppl=/cross-tools --with-cloog=/cross-tools \
    76   --enable-long-long --enable-threads=posix</userinput></screen>
     64  --with-sysroot=${CLFS} --with-local-prefix=/tools \
     65  --with-native-system-header-dir=/tools/include \
     66  --disable-nls --enable-shared --disable-static \
     67  --enable-languages=c,c++ --enable-__cxa_atexit --enable-c99 \
     68  --enable-long-long --enable-threads=posix --with-mpc=/cross-tools \
     69  --with-mpfr=/cross-tools --with-gmp=/cross-tools --with-cloog=/cross-tools \
     70  --enable-cloog-backend=isl --with-isl=/cross-tools \
     71  --disable-isl-version-check --with-system-zlib --enable-checking=release \
     72  --enable-libstdcxx-time</userinput></screen>
    7773
    7874    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/cross-tools/multilib/gcc-static.xml

    rec008670 r229ed25  
    2525
    2626    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    27     href="../common/gcc-static.xml"
     27    href="../../final-system/common/gcc.xml"
    2828    xpointer="xpointer(//*[@os='p1'])"/>
    2929
    3030    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    31     href="../common/gcc-static.xml"
     31    href="../../final-system/common/gcc.xml"
    3232    xpointer="xpointer(//*[@os='p2'])"/>
    3333
     
    4747    href="../common/gcc-static.xml"
    4848    xpointer="xpointer(//*[@os='ah'])"/>
    49 
    50     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    51     href="../common/gcc-static.xml"
    52     xpointer="xpointer(//*[@os='ai'])"/>
    53 
    54     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    55     href="../common/gcc-static.xml"