Changeset 026bb5d
- Timestamp:
- Dec 18, 2013, 9:04:00 AM (11 years ago)
- Children:
- f975b3a
- Parents:
- 1c9985f (diff), 8abef998 (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. - Files:
-
- 87 added
- 30 deleted
- 400 edited
- 28 moved
Legend:
- Unmodified
- Added
- Removed
-
BOOK/Makefile
r1c9985f r026bb5d 22 22 sparc sparc64 sparc64-64 \ 23 23 mips mips64 mips64-64 \ 24 ppc ppc64 \24 ppc ppc64 ppc64-64 \ 25 25 alpha 26 26 … … 249 249 $(TOP)/$(arch)-index.xml 250 250 251 ARCHS_MD5LIST := $(ARCHS:%=%-md5list) 252 .PHONY: md5-list $(ARCHS_MD5LIST) 253 md5-list: $(ARCHS_MD5LIST) 254 $(ARCHS_MD5LIST): override arch = $(@:%-md5list=%) 255 $(ARCHS_MD5LIST): 256 @echo "Creating md5 hash list for $(arch)..." 257 $(Q)mkdir -p $(DLLISTDIR) 258 $(Q)xsltproc --xinclude --nonet \ 259 --output $(DLLISTDIR)/$(arch).md5sum \ 260 $(TOP)/stylesheets/md5sum.xsl \ 261 $(TOP)/$(arch)-index.xml 262 251 263 FG_GREEN := $(shell echo -e '\e[0;32m') 252 264 FG_BLUE := $(shell echo -e '\e[0;34m') … … 278 290 @echo "Download-List Targets" 279 291 @echo " $(FG_GREEN)download-list $(FG_BLUE)$(ARCHS_DLLIST)$(FG_DEFAULT)" 292 @echo "md5-List Targets" 293 @echo " $(FG_GREEN)md5-list $(FG_BLUE)$(ARCHS_MD5LIST)$(FG_DEFAULT)" -
BOOK/alpha-index.xml
r1c9985f r026bb5d 76 76 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="appendices/dependencies/common.xml"/> 77 77 <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"/> 78 79 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="appendices/license.xml"/> 79 80 -
BOOK/appendices/acronymlist.xml
r1c9985f r026bb5d 24 24 25 25 <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>33 26 <term><emphasis role="bold">ALSA</emphasis></term> 34 27 <listitem> … … 73 66 74 67 <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>82 68 <term><emphasis role="bold">BSD</emphasis></term> 83 69 <listitem> … … 87 73 88 74 <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> 89 82 <term><emphasis role="bold">chroot</emphasis></term> 90 83 <listitem> … … 171 164 172 165 <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>180 166 <term><emphasis role="bold">ext2</emphasis></term> 181 167 <listitem> … … 388 374 389 375 <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>397 376 <term><emphasis role="bold">NPTL</emphasis></term> 398 377 <listitem> … … 423 402 424 403 <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>432 404 <term><emphasis role="bold">PID</emphasis></term> 433 405 <listitem> … … 507 479 508 480 <varlistentry> 509 <term><emphasis role="bold">SMP</emphasis></term>510 <listitem>511 <para>Symmetric Multi-Processor</para>512 </listitem>513 </varlistentry>514 515 <varlistentry>516 481 <term><emphasis role="bold">TLDP</emphasis></term> 517 482 <listitem> -
BOOK/appendices/dependencies/common.xml
r1c9985f r026bb5d 116 116 </segmentedlist> 117 117 118 <!-- Begin Bc dependency info --> 119 <bridgehead renderas="sect2" id="bc-dep">Bc</bridgehead> 120 121 <segmentedlist> 122 <segtitle>&dependencies;</segtitle> 123 124 <seglistitem> 125 <seg>Bash, Binutils, Bison, Coreutils, EGLIBC, GCC, Grep, Make, 126 and Readline</seg> 127 </seglistitem> 128 </segmentedlist> 129 130 <segmentedlist> 131 <segtitle>&testsuites;</segtitle> 132 133 <seglistitem> 134 <seg>Gawk</seg> 135 </seglistitem> 136 </segmentedlist> 137 138 <segmentedlist> 139 <segtitle>&before;</segtitle> 140 141 <seglistitem> 142 <seg>None</seg> 143 </seglistitem> 144 </segmentedlist> 145 118 146 <!-- Begin Binutils dependency info --> 119 147 <bridgehead renderas="sect2" id="binutils-dep">Binutils</bridgehead> … … 226 254 </segmentedlist> 227 255 256 <!-- Begin Check dependency info --> 257 <bridgehead renderas="sect2" id="check-dep">Check</bridgehead> 258 259 <segmentedlist> 260 <segtitle>&dependencies;</segtitle> 261 262 <seglistitem> 263 <seg>GCC, Grep, Make, Sed and Texinfo</seg> 264 </seglistitem> 265 </segmentedlist> 266 267 <segmentedlist> 268 <segtitle>&testsuites;</segtitle> 269 270 <seglistitem> 271 <seg>None</seg> 272 </seglistitem> 273 </segmentedlist> 274 275 <segmentedlist> 276 <segtitle>&before;</segtitle> 277 278 <seglistitem> 279 <seg>None</seg> 280 </seglistitem> 281 </segmentedlist> 282 283 <!-- Begin CLooG-ISL dependency info --> 284 <bridgehead renderas="sect2" id="cloog-isl-dep">CLooG-ISL</bridgehead> 285 286 <segmentedlist> 287 <segtitle>&dependencies;</segtitle> 288 289 <seglistitem> 290 <seg>Bash, Binutils, Coreutils, Diffutils, EGLIBC, Gawk, GCC, Grep, GMP, 291 Make, MPC, MPFR, 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>GCC</seg> 308 </seglistitem> 309 </segmentedlist> 310 228 311 <!-- Begin Coreutils dependency info --> 229 312 <bridgehead renderas="sect2" id="coreutils-dep">Coreutils</bridgehead> … … 250 333 251 334 <seglistitem> 252 <seg>Bash, Diffutils, Findutils, Man and Udev</seg>335 <seg>Bash, Diffutils, Findutils, Man and Eudev</seg> 253 336 </seglistitem> 254 337 </segmentedlist> … … 400 483 <seglistitem> 401 484 <seg>Bash, Binutils, Coreutils, EGLIBC, Gawk, GCC, Gettext, Grep, Gzip, 402 Make, Pkg-config , Sed, Texinfo and Util-linux</seg>485 Make, Pkg-config-lite, Sed, Texinfo and Util-linux</seg> 403 486 </seglistitem> 404 487 </segmentedlist> … … 538 621 539 622 <seglistitem> 540 <seg>Bash, Binutils, Coreutils, Diffutils, EGLIBC, Findutils, Gawk, 541 GCC, GMP, Grep, Make, MPFR, Patch, Perl, Sed, Tar and Texinfo</seg> 542 </seglistitem> 543 </segmentedlist> 544 545 <segmentedlist> 546 <segtitle>&testsuites;</segtitle> 547 548 <seglistitem> 549 <seg>DejaGNU and Expect</seg> 623 <seg>Bash, Binutils, CLooG-ISL, Coreutils, Diffutils, EGLIBC, 624 Findutils, Gawk, GCC, GMP, Grep, ISL, Make, MPFR, Patch, Perl, Sed, 625 Tar and Texinfo</seg> 626 </seglistitem> 627 </segmentedlist> 628 629 <segmentedlist> 630 <segtitle>&testsuites;</segtitle> 631 632 <seglistitem> 633 <seg>Check, DejaGNU, and Expect</seg> 550 634 </seglistitem> 551 635 </segmentedlist> … … 587 671 </segmentedlist> 588 672 673 <!-- Begin Glib dependency info --> 674 <bridgehead renderas="sect2" id="glib-dep">Glib</bridgehead> 675 676 <segmentedlist> 677 <segtitle>&dependencies;</segtitle> 678 679 <seglistitem> 680 <seg>bash, binutils, coreutils, gawk, gcc, gettext, make & M4.</seg> 681 </seglistitem> 682 </segmentedlist> 683 684 <segmentedlist> 685 <segtitle>&testsuites;</segtitle> 686 687 <seglistitem> 688 <seg>Unknown</seg> 689 </seglistitem> 690 </segmentedlist> 691 692 <segmentedlist> 693 <segtitle>&before;</segtitle> 694 695 <seglistitem> 696 <seg>Pkg-config-lite</seg> 697 </seglistitem> 698 </segmentedlist> 699 589 700 <!-- Begin GMP dependency info --> 590 701 <bridgehead renderas="sect2" id="gmp-dep">GMP</bridgehead> … … 781 892 </segmentedlist> 782 893 894 <!-- Begin ISL dependency info --> 895 <bridgehead renderas="sect2" id="isl-dep">ISL</bridgehead> 896 897 <segmentedlist> 898 <segtitle>&dependencies;</segtitle> 899 900 <seglistitem> 901 <seg>Bash, Binutils, Coreutils, Diffutils, EGLIBC, Gawk, GCC, Grep, 902 GMP, Make, MPC, MPFR, Sed and Texinfo</seg> 903 </seglistitem> 904 </segmentedlist> 905 906 <segmentedlist> 907 <segtitle>&testsuites;</segtitle> 908 909 <seglistitem> 910 <seg>None</seg> 911 </seglistitem> 912 </segmentedlist> 913 914 <segmentedlist> 915 <segtitle>&before;</segtitle> 916 917 <seglistitem> 918 <seg>GCC</seg> 919 </seglistitem> 920 </segmentedlist> 921 783 922 <!-- Begin Kbd dependency info --> 784 923 <bridgehead renderas="sect2" id="kbd-dep">Kbd</bridgehead> … … 788 927 789 928 <seglistitem> 790 <seg>Bash, Binutils, Coreutils, EGLIBC, Gawk, GCC, Gzip, Make and Sed</seg> 791 </seglistitem> 792 </segmentedlist> 793 794 <segmentedlist> 795 <segtitle>&testsuites;</segtitle> 796 797 <seglistitem> 798 <seg>No testsuite available</seg> 799 </seglistitem> 800 </segmentedlist> 801 802 <segmentedlist> 803 <segtitle>&before;</segtitle> 804 805 <seglistitem> 806 <seg>None</seg> 929 <seg>Bash, Binutils, Coreutils, EGLIBC, Gawk, GCC, Gzip, Make, and 930 Check</seg> 931 </seglistitem> 932 </segmentedlist> 933 934 <segmentedlist> 935 <segtitle>&testsuites;</segtitle> 936 937 <seglistitem> 938 <seg>No testsuite available</seg> 939 </seglistitem> 940 </segmentedlist> 941 942 <segmentedlist> 943 <segtitle>&before;</segtitle> 944 945 <seglistitem> 946 <seg>None</seg> 947 </seglistitem> 948 </segmentedlist> 949 950 <!-- Begin KMOD dependency info --> 951 <bridgehead renderas="sect2" id="kmod-dep">KMOD</bridgehead> 952 953 <segmentedlist> 954 <segtitle>&dependencies;</segtitle> 955 956 <seglistitem> 957 <seg>Bash, Binutils, Bison, Coreutils, EGLIBC, Flex, Gawk, GCC, 958 Gettext, Gzip, Make, Pkg-config-lite, Sed, XZ-Utils, and Zlib. 959 </seg> 960 </seglistitem> 961 </segmentedlist> 962 963 <segmentedlist> 964 <segtitle>&testsuites;</segtitle> 965 966 <seglistitem> 967 <seg>No testsuite available</seg> 968 </seglistitem> 969 </segmentedlist> 970 971 <segmentedlist> 972 <segtitle>&before;</segtitle> 973 974 <seglistitem> 975 <seg>Eudev</seg> 807 976 </seglistitem> 808 977 </segmentedlist> … … 844 1013 <seglistitem> 845 1014 <seg>Bash, Binutils, Coreutils, Diffutils, EGLIBC, Findutils, Gawk, 846 GCC, Grep, Libestr, Make, Pkg-config , Sed and Texinfo</seg>1015 GCC, Grep, Libestr, Make, Pkg-config-lite, Sed and Texinfo</seg> 847 1016 </seglistitem> 848 1017 </segmentedlist> … … 955 1124 <seglistitem> 956 1125 <seg>Bash, Binutils, Coreutils, Diffutils, EGLIBC, Findutils, GCC, Grep, 957 Gzip, Make, Module-Init-Tools, Ncurses, Perl and Sed</seg>1126 Gzip, Make, KMOD, Ncurses, Perl and Sed</seg> 958 1127 </seglistitem> 959 1128 </segmentedlist> … … 1087 1256 1088 1257 <!-- Begin MPC dependency info --> 1089 <bridgehead renderas="sect2" id="mpc-dep">MP FR</bridgehead>1258 <bridgehead renderas="sect2" id="mpc-dep">MPC</bridgehead> 1090 1259 1091 1260 <segmentedlist> … … 1142 1311 </segmentedlist> 1143 1312 1144 <!-- Begin Module-Init-Toolsdependency info -->1145 <bridgehead renderas="sect2" id="module-init-tools-dep"> Module-Init-Tools</bridgehead>1313 <!-- Begin KMOD dependency info --> 1314 <bridgehead renderas="sect2" id="module-init-tools-dep">KMOD</bridgehead> 1146 1315 1147 1316 <segmentedlist> … … 1254 1423 </segmentedlist> 1255 1424 1256 <!-- Begin Pkg-config dependency info -->1257 <bridgehead renderas="sect2" id="pkg-config- dep">Pkg-config</bridgehead>1425 <!-- Begin Pkg-config-lite dependency info --> 1426 <bridgehead renderas="sect2" id="pkg-config-lite-dep">Pkg-config-lite</bridgehead> 1258 1427 1259 1428 <segmentedlist> … … 1560 1729 </segmentedlist> 1561 1730 1562 <!-- Begin Udev dependency info -->1563 <bridgehead renderas="sect2" id="udev-dep"> Udev</bridgehead>1731 <!-- Begin Eudev dependency info --> 1732 <bridgehead renderas="sect2" id="udev-dep">Eudev</bridgehead> 1564 1733 1565 1734 <segmentedlist> … … 1596 1765 <seglistitem> 1597 1766 <seg>Bash, Binutils, Coreutils, EGLIBC, GCC, Grep, 1598 Make, Ncurses, Pkg-config , Sed, Texinfo and Zlib</seg>1767 Make, Ncurses, Pkg-config-lite, Sed, Texinfo and Zlib</seg> 1599 1768 </seglistitem> 1600 1769 </segmentedlist> … … 1695 1864 1696 1865 <seglistitem> 1697 <seg>File, Module-Init-Toolsand Util-linux</seg>1866 <seg>File, KMOD and Util-linux</seg> 1698 1867 </seglistitem> 1699 1868 </segmentedlist> -
BOOK/appendices/dependencies/x86.xml
r1c9985f r026bb5d 14 14 <para>This page contains dependency information for packages specific to x86.</para> 15 15 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> 18 18 19 19 <segmentedlist> … … 21 21 22 22 <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> 25 25 </seglistitem> 26 26 </segmentedlist> -
BOOK/boot/64/createfiles.xml
r1c9985f r026bb5d 18 18 the next chapter after the software has been installed.</para> 19 19 20 <screen><userinput>ln -sv /tools/bin/{bash,cat,echo,grep, pwd,sleep,stty} ${CLFS}/bin20 <screen><userinput>ln -sv /tools/bin/{bash,cat,echo,grep,login,passwd,pwd,sleep,stty} ${CLFS}/bin 21 21 ln -sv /tools/bin/file ${CLFS}/usr/bin 22 ln -sv /tools/sbin/{agetty,blkid} ${CLFS}/sbin 22 23 ln -sv /tools/lib/libgcc_s.so{,.1} ${CLFS}/usr/lib 23 24 ln -sv /tools/lib/libstd*so* ${CLFS}/usr/lib 24 ln -sv bash ${CLFS}/bin/sh</userinput></screen> 25 ln -sv bash ${CLFS}/bin/sh 26 ln -sv ../run ${CLFS}/var/run</userinput></screen> 25 27 26 28 <para os="b">To enable some c++ tests in the Glibc and Binutils testsuites -
BOOK/boot/64/grub-build.xml
r1c9985f r026bb5d 6 6 ]> 7 7 8 <sect1 id="ch- temp-system-cloog-ppl" role="wrap">9 <?dbhtml filename=" cloog-ppl.html"?>8 <sect1 id="ch-boot-grub-build" role="wrap"> 9 <?dbhtml filename="grub-build.html"?> 10 10 11 <title> CLooG-PPL-&cloog-ppl-version;</title>11 <title>GRUB-&grub-version;</title> 12 12 13 <indexterm zone="ch- temp-system-cloog-ppl">14 <primary sortas="a- MPFR">CLooG-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> 16 16 </indexterm> 17 17 18 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 19 href="../../final-system/ common/cloog-ppl.xml"19 href="../../final-system/x86/grub.xml" 20 20 xpointer="xpointer(//*[@role='package'])"/> 21 21 22 22 <sect2 role="installation"> 23 <title>Installation of CLooG-PPL</title>23 <title>Installation of GRUB</title> 24 24 25 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 26 href="../common/cloog-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" 27 31 xpointer="xpointer(//*[@os='s1'])"/> 28 32 29 33 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 30 href="../ common/cloog-ppl.xml"34 href="../../final-system/x86/grub.xml" 31 35 xpointer="xpointer(//*[@os='s2'])"/> 32 36 33 37 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 34 href="../ common/cloog-ppl.xml"38 href="../../final-system/x86/grub.xml" 35 39 xpointer="xpointer(//*[@os='a'])"/> 36 40 37 <screen os=" b"><userinput>CC="${CC} ${BUILD64}" ./configure --prefix=/tools \38 --build=${CLFS_HOST} --host=${CLFS_TARGET} --with-bits=gmp\39 -- enable-shared --with-gmp=/tools --with-ppl=/tools</userinput></screen>41 <screen os="ab"><userinput>CC="${CC} ${BUILD64}" ./configure --prefix=/tools \ 42 --build=${CLFS_HOST} --host=${CLFS_TARGET} \ 43 --sysconfdir=/etc --libdir=/tools/lib64 --disable-werror</userinput></screen> 40 44 41 45 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 42 href="../ common/cloog-ppl.xml"46 href="../../final-system/x86/grub.xml" 43 47 xpointer="xpointer(//*[@os='c'])"/> 44 48 45 49 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 46 href="../ common/cloog-ppl.xml"50 href="../../final-system/x86/grub.xml" 47 51 xpointer="xpointer(//*[@os='d'])"/> 48 49 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"50 href="../common/cloog-ppl.xml"51 xpointer="xpointer(//*[@os='e'])"/>52 52 53 53 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 54 href="../ common/cloog-ppl.xml"54 href="../../final-system/x86/grub.xml" 55 55 xpointer="xpointer(//*[@os='f'])"/> 56 57 <screen os="ag"><userinput>make DESTDIR=${CLFS} install</userinput></screen> 56 58 57 59 </sect2> … … 61 63 62 64 <para>Details on this package are located in <xref 63 linkend="contents- cloog-ppl" role="."/></para>65 linkend="contents-grub" role="."/></para> 64 66 65 67 </sect2> -
BOOK/boot/64/util-linux.xml
r1c9985f r026bb5d 22 22 <sect2 role="installation"> 23 23 <title>Installation of Util-linux</title> 24 24 25 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 26 26 href="../common/util-linux.xml" 27 27 xpointer="xpointer(//*[@os='a'])"/> 28 28 29 <screen os="be"><userinput>CC="${CC} ${BUILD64}" PKG_CONFIG= true\29 <screen os="be"><userinput>CC="${CC} ${BUILD64}" PKG_CONFIG= \ 30 30 ./configure --prefix=/tools --exec-prefix=/tools \ 31 31 --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> 33 33 34 34 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/boot/alpha-chapter.xml
r1c9985f r026bb5d 16 16 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/createfiles.xml"/> 17 17 <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"/> 19 20 <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"/> 22 23 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/> 23 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="alpha/kernel.xml"/> -
BOOK/boot/alpha/kernel.xml
r1c9985f r026bb5d 83 83 84 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=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" 85 92 href="../x86/kernel.xml" 86 93 xpointer="xpointer(//*[@os='u'])"/> -
BOOK/boot/common/createfiles.xml
r1c9985f r026bb5d 16 16 the next chapter after the software has been installed.</para> 17 17 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 19 ln -sv /tools/sbin/{agetty,blkid} ${CLFS}/sbin 19 20 ln -sv /tools/bin/file ${CLFS}/usr/bin 20 21 ln -sv /tools/lib/libgcc_s.so{,.1} ${CLFS}/usr/lib 21 22 ln -sv /tools/lib/libstd*so* ${CLFS}/usr/lib 22 ln -sv bash ${CLFS}/bin/sh</userinput></screen> 23 ln -sv bash ${CLFS}/bin/sh 24 ln -sv /run ${CLFS}/var/run</userinput></screen> 23 25 24 26 </sect1> -
BOOK/boot/common/creatingdirs.xml
r1c9985f r026bb5d 15 15 16 16 <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}17 mkdir -pv ${CLFS}/{proc,media/{floppy,cdrom},run/{,shm},sbin,srv,sys} 18 mkdir -pv ${CLFS}/var/{lock,log,mail,spool} 19 19 mkdir -pv ${CLFS}/var/{opt,cache,lib/{misc,locate},local} 20 20 install -dv -m 0750 ${CLFS}/root -
BOOK/boot/common/devices.xml
r1c9985f r026bb5d 20 20 <note os="a"> 21 21 <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’s environment 25 before proceeding.</para> 25 26 </note> 26 27 … … 38 39 mknod -m 666 ${CLFS}/dev/null c 1 3</userinput></screen> 39 40 40 <para>Before udev starts a tmpfs filesystem is mounted over <filename class="directory">/dev</filename> and the previous entries are no-longer available. The folling command creates files that are copied over by the udev bootscript:</para> 41 <para>Before udev starts, a tmpfs filesystem is mounted over 42 <filename class="directory">/dev</filename> and the previous entries are 43 no longer available. The following command creates files that are copied 44 over by the udev bootscript:</para> 41 45 42 46 <screen><userinput>mknod -m 600 ${CLFS}/lib/udev/devices/console c 5 1 -
BOOK/boot/common/fstab.xml
r1c9985f r026bb5d 32 32 devpts /dev/pts devpts gid=&gid-tty;,mode=620 0 0 33 33 shm /dev/shm tmpfs defaults 0 0 34 tmpfs /run tmpfs defaults 0 0 35 devtmpfs /dev devtmpfs mode=0755,nosuid 0 0 36 34 37 # End /etc/fstab</literal> 35 38 EOF</userinput></screen> -
BOOK/boot/common/pwdgroup.xml
r1c9985f r026bb5d 44 44 45 45 <screen><userinput>cat > ${CLFS}/etc/passwd << "EOF" 46 <literal>root: x:&uid-root;:&gid-root;:root:/root:/bin/bash</literal>46 <literal>root::&uid-root;:&gid-root;:root:/root:/bin/bash</literal> 47 47 EOF</userinput></screen> 48 48 … … 190 190 191 191 <para os="e">The created groups are not part of any standard—they are 192 groups decided on in part by the requirements of the Udev configuration192 groups decided on in part by the requirements of the Eudev configuration 193 193 in the final system, and in part by common convention employed by a 194 194 number of existing Linux distributions. The Linux Standard Base (LSB, -
BOOK/boot/common/sysvinit.xml
r1c9985f r026bb5d 24 24 25 25 <para os="aa">The following modifications help locate files specific to this 26 p erticular build:</para>26 particular build:</para> 27 27 28 28 <screen os="ab"><userinput>cp -v src/Makefile{,.orig} … … 86 86 87 87 <screen><userinput>cat >> ${CLFS}/etc/inittab << "EOF" 88 <literal>1:2345:respawn:/sbin/agetty - I '\033(K' tty1 960089 2:2345:respawn:/sbin/agetty - I '\033(K' tty2 960090 3:2345:respawn:/sbin/agetty - I '\033(K' tty3 960091 4:2345:respawn:/sbin/agetty - I '\033(K' tty4 960092 5:2345:respawn:/sbin/agetty - I '\033(K' tty5 960093 6:2345:respawn:/sbin/agetty - I '\033(K' tty6 960088 <literal>1:2345:respawn:/sbin/agetty --noclear -I '\033(K' tty1 9600 89 2:2345:respawn:/sbin/agetty --noclear -I '\033(K' tty2 9600 90 3:2345:respawn:/sbin/agetty --noclear -I '\033(K' tty3 9600 91 4:2345:respawn:/sbin/agetty --noclear -I '\033(K' tty4 9600 92 5:2345:respawn:/sbin/agetty --noclear -I '\033(K' tty5 9600 93 6:2345:respawn:/sbin/agetty --noclear -I '\033(K' tty6 9600 94 94 </literal> 95 95 EOF</userinput></screen> … … 99 99 100 100 <screen><userinput>cat >> ${CLFS}/etc/inittab << "EOF" 101 <literal>c0:12345:respawn:/sbin/agetty 115200 ttyS0 vt100101 <literal>c0:12345:respawn:/sbin/agetty --noclear 115200 ttyS0 vt100 102 102 </literal> 103 103 EOF</userinput></screen> -
BOOK/boot/common/util-linux.xml
r1c9985f r026bb5d 22 22 <sect2 role="installation"> 23 23 <title>Installation of Util-linux</title> 24 24 25 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 26 26 href="../../final-system/common/util-linux.xml" 27 27 xpointer="xpointer(//*[@os='a'])"/> 28 28 29 <screen os="b"><userinput>PKG_CONFIG= true\29 <screen os="b"><userinput>PKG_CONFIG= \ 30 30 ./configure --prefix=/tools --exec-prefix=/tools \ 31 31 --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> 33 33 34 34 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/boot/mips-chapter.xml
r1c9985f r026bb5d 17 17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/createfiles.xml"/> 18 18 <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"/> 20 21 <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"/> 23 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/> 24 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/kernel.xml"/> -
BOOK/boot/mips/kernel.xml
r1c9985f r026bb5d 75 75 76 76 <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" 77 84 href="../x86/kernel.xml" 78 85 xpointer="xpointer(//*[@os='u'])"/> -
BOOK/boot/mips64-64-chapter.xml
r1c9985f r026bb5d 17 17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/createfiles.xml"/> 18 18 <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"/> 20 21 <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"/> 23 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/> 24 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/kernel.xml"/> -
BOOK/boot/mips64-chapter.xml
r1c9985f r026bb5d 17 17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/createfiles.xml"/> 18 18 <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"/> 20 21 <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"/> 23 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/> 24 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/kernel.xml"/> -
BOOK/boot/mips64/createfiles.xml
r1c9985f r026bb5d 15 15 xpointer="xpointer(//*[@os='a'])"/> 16 16 17 <screen><userinput>ln -sv /tools/bin/{bash,cat,echo,grep, pwd,sleep,stty} ${CLFS}/bin17 <screen><userinput>ln -sv /tools/bin/{bash,cat,echo,grep,login,passwd,pwd,sleep,stty} ${CLFS}/bin 18 18 ln -sv /tools/bin/file ${CLFS}/usr/bin 19 ln -sv /tools/sbin/{agetty,blkid} ${CLFS}/sbin 19 20 ln -sv /tools/lib/libgcc_s.so{,.1} ${CLFS}/usr/lib 20 21 ln -sv /tools/lib32/libgcc_s.so{,.1} ${CLFS}/usr/lib32 … … 23 24 ln -sv /tools/lib32/libstd*so* ${CLFS}/usr/lib32 24 25 ln -sv /tools/lib64/libstd*so* ${CLFS}/usr/lib64 25 ln -sv bash ${CLFS}/bin/sh</userinput></screen> 26 ln -sv bash ${CLFS}/bin/sh 27 ln -sv ../run ${CLFS}/var/run</userinput></screen> 26 28 27 29 </sect1> -
BOOK/boot/mips64/creatingdirs.xml
r1c9985f r026bb5d 16 16 17 17 <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}18 mkdir -pv ${CLFS}/{proc,media/{floppy,cdrom},run/{shm},sbin,srv,sys} 19 mkdir -pv ${CLFS}/var/{lock,log,mail,spool} 20 20 mkdir -pv ${CLFS}/var/{opt,cache,lib{,32,64}/{misc,locate},local} 21 21 install -dv ${CLFS}/root -m 0750 -
BOOK/boot/mips64/kernel.xml
r1c9985f r026bb5d 79 79 80 80 <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" 81 88 href="../x86/kernel.xml" 82 89 xpointer="xpointer(//*[@os='u'])"/> -
BOOK/boot/multilib/createfiles.xml
r1c9985f r026bb5d 15 15 xpointer="xpointer(//*[@os='a'])"/> 16 16 17 <screen><userinput>ln -sv /tools/bin/{bash,cat,echo,grep, pwd,sleep,stty} ${CLFS}/bin17 <screen><userinput>ln -sv /tools/bin/{bash,cat,echo,grep,login,passwd,pwd,sleep,stty} ${CLFS}/bin 18 18 ln -sv /tools/bin/file ${CLFS}/usr/bin 19 ln -sv /tools/sbin/{agetty,blkid} ${CLFS}/sbin 19 20 ln -sv /tools/lib/libgcc_s.so{,.1} ${CLFS}/usr/lib 20 21 ln -sv /tools/lib64/libgcc_s.so{,.1} ${CLFS}/usr/lib64 21 22 ln -sv /tools/lib/libstd*so* ${CLFS}/usr/lib 22 23 ln -sv /tools/lib64/libstd*so* ${CLFS}/usr/lib64 23 ln -sv bash ${CLFS}/bin/sh</userinput></screen> 24 ln -sv bash ${CLFS}/bin/sh 25 ln -sv ../run ${CLFS}/var/run</userinput></screen> 24 26 25 27 </sect1> -
BOOK/boot/multilib/creatingdirs.xml
r1c9985f r026bb5d 16 16 17 17 <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}18 mkdir -pv ${CLFS}/{proc,media/{floppy,cdrom},run/{,shm},sbin,srv,sys} 19 mkdir -pv ${CLFS}/var/{lock,log,mail,spool} 20 20 mkdir -pv ${CLFS}/var/{opt,cache,lib{,64}/{misc,locate},local} 21 21 install -dv ${CLFS}/root -m 0750 -
BOOK/boot/multilib/e2fsprogs.xml
r1c9985f r026bb5d 55 55 xpointer="xpointer(//*[@os='f'])"/> 56 56 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> 60 60 61 61 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/boot/multilib/grub-build.xml
r1c9985f r026bb5d 6 6 ]> 7 7 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"?> 10 10 11 <title> PPL-&ppl-version;</title>11 <title>GRUB-&grub-version;</title> 12 12 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> 16 16 </indexterm> 17 17 18 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 19 href="../../final-system/ common/ppl.xml"19 href="../../final-system/x86/grub.xml" 20 20 xpointer="xpointer(//*[@role='package'])"/> 21 21 22 22 <sect2 role="installation"> 23 <title>Installation of PPL</title>23 <title>Installation of GRUB</title> 24 24 25 25 <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" 27 39 xpointer="xpointer(//*[@os='a'])"/> 28 40 29 <screen os=" b"><userinput>CC="${CC} ${BUILD64}" ./configure --prefix=/tools \41 <screen os="ab"><userinput>CC="${CC} ${BUILD64}" ./configure --prefix=/tools \ 30 42 --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> 34 44 35 45 <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" 45 47 xpointer="xpointer(//*[@os='c'])"/> 46 48 47 49 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 48 href="../ common/ppl.xml"50 href="../../final-system/x86/grub.xml" 49 51 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'])"/>54 52 55 53 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 56 href="../ common/ppl.xml"54 href="../../final-system/x86/grub.xml" 57 55 xpointer="xpointer(//*[@os='f'])"/> 56 57 <screen os="ag"><userinput>make DESTDIR=${CLFS} install</userinput></screen> 58 58 59 59 </sect2> … … 63 63 64 64 <para>Details on this package are located in <xref 65 linkend="contents- ppl" role="."/></para>65 linkend="contents-grub" role="."/></para> 66 66 67 67 </sect2> -
BOOK/boot/multilib/util-linux.xml
r1c9985f r026bb5d 22 22 <sect2 role="installation"> 23 23 <title>Installation of Util-linux</title> 24 24 25 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 26 26 href="../common/util-linux.xml" 27 27 xpointer="xpointer(//*[@os='a'])"/> 28 28 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> 35 34 36 35 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 46 45 xpointer="xpointer(//*[@os='g'])"/> 47 46 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> 51 48 52 49 </sect2> -
BOOK/boot/ppc-chapter.xml
r1c9985f r026bb5d 16 16 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/createfiles.xml"/> 17 17 <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"/> 19 20 <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"/> 22 23 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/> 23 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc/kernel.xml"/> -
BOOK/boot/ppc/kernel.xml
r1c9985f r026bb5d 80 80 81 81 <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" 82 89 href="../x86/kernel.xml" 83 90 xpointer="xpointer(//*[@os='u'])"/> -
BOOK/boot/ppc/yaboot-build.xml
r1c9985f r026bb5d 23 23 <title>Installation of Yaboot</title> 24 24 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 25 41 <para os="p1">The following patch allows <command>ofpath</command> to use 26 42 <literal>PATH_PREFIX</literal> like the other … … 33 49 loader. It also tries to change user and group ownership for the installed 34 50 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> 37 54 38 55 <screen><userinput>cp -v Makefile{,.orig} 39 56 sed -e "s/\(strip \)/${CLFS_TARGET}-\1/" \ 40 57 -e 's/-o root -g root//' \ 58 -e 's/-Werror//' \ 41 59 Makefile.orig > Makefile</userinput></screen> 42 60 -
BOOK/boot/ppc64-64/powerpc-utils.xml
r1c9985f r026bb5d 6 6 ]> 7 7 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"?> 10 10 11 <title> Udev-&udev-version; 32 Bit Libraries</title>11 <title>Powerpc-Utils_&powerpcutils-version;</title> 12 12 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> 16 16 </indexterm> 17 17 18 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 19 href="../ common/udev.xml"19 href="../../final-system/ppc/powerpc-utils.xml" 20 20 xpointer="xpointer(//*[@role='package'])"/> 21 21 22 22 <sect2 role="installation"> 23 <title>Installation of Udev</title>23 <title>Installation of Powerpc-Utils</title> 24 24 25 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 26 href="../ common/udev.xml"26 href="../../final-system/ppc/powerpc-utils.xml" 27 27 xpointer="xpointer(//*[@os='a'])"/> 28 28 29 <screen os="b"><userinput>CC="gcc ${BUILD32}" ./configure --prefix=/usr \ 30 --exec-prefix="" --sysconfdir=/etc --libexecdir=/lib/udev \31 --libdir=/usr/lib --disable-extras --disable-introspection</userinput></screen>29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 30 href="../../final-system/ppc/powerpc-utils.xml" 31 xpointer="xpointer(//*[@os='b'])"/> 32 32 33 33 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 34 href="../common/udev.xml" 34 href="../ppc/powerpc-utils.xml" 35 xpointer="xpointer(//*[@os='a'])"/> 36 37 <screen><userinput>${CC} ${BUILD64} -o nvsetenv nvsetenv.c nwnvsetenv.c</userinput></screen> 38 39 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 40 href="../ppc/powerpc-utils.xml" 35 41 xpointer="xpointer(//*[@os='c'])"/> 36 42 37 43 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 38 href="../ common/udev.xml"44 href="../ppc/powerpc-utils.xml" 39 45 xpointer="xpointer(//*[@os='d'])"/> 40 41 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"42 href="../common/udev.xml"43 xpointer="xpointer(//*[@os='g'])"/>44 45 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"46 href="../common/udev.xml"47 xpointer="xpointer(//*[@os='h'])"/>48 46 49 47 </sect2> … … 52 50 <title/> 53 51 54 <para>Details on this package are located in <xref 55 linkend="contents-udev" role="."/></para> 52 <para>Details on this package are located in <xref linkend="contents-powerpc-utils" role="."/></para> 56 53 57 54 </sect2> 55 58 56 </sect1> 59 -
BOOK/boot/ppc64-chapter.xml
r1c9985f r026bb5d 15 15 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/creatingdirs.xml"/> 16 16 <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"/> 17 18 <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"/> 18 20 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/e2fsprogs-libs.xml"/> 19 21 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/e2fsprogs.xml"/> 20 22 <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"/> 23 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/> 24 26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/kernel.xml"/> … … 27 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/yaboot-build.xml"/> 28 30 <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"/> 29 32 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/> 30 33 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bootscripts.xml"/> -
BOOK/boot/ppc64/e2fsprogs.xml
r1c9985f r026bb5d 68 68 xpointer="xpointer(//*[@os='f'])"/> 69 69 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 72 make LIBUUID="-luuid" STATIC_LIBUUID="-luuid" LIBBLKID="-lblkid" \ 73 STATIC_LIBBLKID="-lblkid" LDFLAGS="-Wl,-rpath,/tools/lib64" -C e2fsck/</userinput></screen> 73 74 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> 77 76 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> 81 78 82 79 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/boot/ppc64/kernel.xml
r1c9985f r026bb5d 79 79 80 80 <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" 81 88 href="../x86/kernel.xml" 82 89 xpointer="xpointer(//*[@os='u'])"/> -
BOOK/boot/ppc64/util-linux-32.xml
r1c9985f r026bb5d 6 6 ]> 7 7 8 <sect1 id="ch- system-udev-n32" role="wrap">9 <?dbhtml filename="u dev-n32.html"?>8 <sect1 id="ch-boot-util-linux-32" role="wrap"> 9 <?dbhtml filename="util-linux-32.html"?> 10 10 11 <title>U dev-&udev-version; N32 Libraries</title>11 <title>Util-linux-&util-linux-version; 32bit</title> 12 12 13 <indexterm zone="ch- system-udev-n32">14 <primary sortas="a-U dev">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> 16 16 </indexterm> 17 17 18 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 19 href="../ common/udev.xml"19 href="../../final-system/common/util-linux.xml" 20 20 xpointer="xpointer(//*[@role='package'])"/> 21 21 22 22 <sect2 role="installation"> 23 <title>Installation of Udev</title> 23 <title>Installation of Util-linux 32 bit</title> 24 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 26 href="../common/util-linux.xml" 27 xpointer="xpointer(//*[@os='a'])"/> 28 29 <screen os="be"><userinput>CC="${CC} ${BUILD32}" PKG_CONFIG= \ 30 ./configure \ 31 --prefix=/tools --exec-prefix=/tools \ 32 --build=${CLFS_HOST} --host=${CLFS_TARGET32} \ 33 --without-ncurses --disable-makeinstall-chown</userinput></screen> 24 34 25 35 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 26 href="../common/udev.xml" 27 xpointer="xpointer(//*[@os='a'])"/> 28 29 <screen os="b"><userinput>CC="gcc ${BUILDN32}"./configure --prefix=/usr \ 30 --exec-prefix="" --sysconfdir=/etc --libexecdir=/lib/udev \ 31 --libdir=/usr/lib32 --disable-extras --disable-introspection</userinput></screen> 32 33 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 34 href="../common/udev.xml" 35 xpointer="xpointer(//*[@os='c'])"/> 36 37 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 38 href="../common/udev.xml" 36 href="../common/util-linux.xml" 39 37 xpointer="xpointer(//*[@os='d'])"/> 40 38 41 39 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 42 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" 43 45 xpointer="xpointer(//*[@os='g'])"/> 44 46 45 47 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 46 href="../common/u dev.xml"48 href="../common/util-linux.xml" 47 49 xpointer="xpointer(//*[@os='h'])"/> 48 50 … … 53 55 54 56 <para>Details on this package are located in <xref 55 linkend="contents-u dev" role="."/></para>57 linkend="contents-util-linux" role="."/></para> 56 58 57 59 </sect2> 60 58 61 </sect1> 59 60 61 -
BOOK/boot/ppc64/yaboot-build.xml
r1c9985f r026bb5d 24 24 25 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 41 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 26 42 href="../ppc/yaboot-build.xml" 27 43 xpointer="xpointer(//*[@os='p1'])"/> … … 43 59 -e "s/\(strip \)/${CLFS_TARGET}-\1/" \ 44 60 -e 's/-o root -g root//' \ 61 -e 's/-Werror//' \ 45 62 Makefile.orig > Makefile</userinput></screen> 46 63 -
BOOK/boot/sparc-chapter.xml
r1c9985f r026bb5d 16 16 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/createfiles.xml"/> 17 17 <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"/> 19 20 <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"/> 22 23 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/elftoaout.xml"/> 23 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/> -
BOOK/boot/sparc/fstab.xml
r1c9985f r026bb5d 29 29 proc /proc proc defaults 0 0 30 30 sysfs /sys sysfs defaults 0 0 31 devpts /dev/pts devpts gid= 4,mode=620 0 031 devpts /dev/pts devpts gid=&gid-tty;,mode=620 0 0 32 32 shm /dev/shm tmpfs defaults 0 0 33 tmpfs /run tmpfs defaults 0 0 34 devtmpfs /dev devtmpfs mode=0755,nosuid 0 0 33 35 none /proc/openprom openpromfs defaults 0 0 34 36 # End /etc/fstab</literal> -
BOOK/boot/sparc/kernel.xml
r1c9985f r026bb5d 75 75 76 76 <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" 77 84 href="../x86/kernel.xml" 78 85 xpointer="xpointer(//*[@os='u'])"/> -
BOOK/boot/sparc/silo-build.xml
r1c9985f r026bb5d 31 31 xpointer="xpointer(//*[@os='b'])"/> 32 32 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: &@' 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 40 make -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 47 to 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 33 52 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 34 53 href="../../final-system/sparc/silo.xml" 35 54 xpointer="xpointer(//*[@os='c'])"/> 36 55 37 <screen os="a a"><userinput>make CROSS_COMPILE=${CLFS_TARGET}-</userinput></screen>56 <screen os="ac"><userinput>make CC=${CC} AS=${AS} LD=${LD} STRIP=${STRIP}</userinput></screen> 38 57 39 58 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/boot/sparc64-64-chapter.xml
r1c9985f r026bb5d 16 16 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/createfiles.xml"/> 17 17 <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"/> 19 20 <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"/> 22 23 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/elftoaout.xml"/> 23 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/> -
BOOK/boot/sparc64-chapter.xml
r1c9985f r026bb5d 16 16 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/createfiles.xml"/> 17 17 <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"/> 19 20 <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"/> 22 23 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/elftoaout.xml"/> 23 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/> -
BOOK/boot/sparc64/kernel.xml
r1c9985f r026bb5d 73 73 xpointer="xpointer(//*[@os='s'])"/> 74 74 75 <screen><userinput>make INSTALL_MOD_PATH=${CLFS} ARCH=sparc64\75 <screen><userinput>make ARCH=sparc64 INSTALL_MOD_PATH=${CLFS} \ 76 76 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> 77 84 78 85 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/boot/x86-chapter.xml
r1c9985f r026bb5d 16 16 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/createfiles.xml"/> 17 17 <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"/> 18 19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/e2fsprogs.xml"/> 19 20 <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"/> 22 23 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/> 23 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86/kernel.xml"/> -
BOOK/boot/x86/grub-build.xml
r1c9985f r026bb5d 29 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 30 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" 31 39 xpointer="xpointer(//*[@os='a'])"/> 32 40 33 <screen os="ab"><userinput>./configure --prefix=/ usr\41 <screen os="ab"><userinput>./configure --prefix=/tools \ 34 42 --build=${CLFS_HOST} --host=${CLFS_TARGET} \ 35 43 --sysconfdir=/etc --disable-werror</userinput></screen> -
BOOK/boot/x86/kernel.xml
r1c9985f r026bb5d 82 82 INSTALL_MOD_PATH=${CLFS} modules_install</userinput></screen> 83 83 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 84 91 <para os="u">After kernel compilation is complete, additional steps are 85 92 required to complete the installation. Some files need to be copied to -
BOOK/boot/x86_64-64-chapter.xml
r1c9985f r026bb5d 16 16 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/createfiles.xml"/> 17 17 <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"/> 19 20 <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"/> 22 23 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/> 23 24 <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"/> 25 26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/settingenviron.xml"/> 26 27 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64-64/flags.xml"/> -
BOOK/boot/x86_64-chapter.xml
r1c9985f r026bb5d 16 16 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/createfiles.xml"/> 17 17 <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"/> 19 20 <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"/> 22 23 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/> 23 24 <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"/> 25 26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/settingenviron.xml"/> 26 27 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64/flags.xml"/> -
BOOK/boot/x86_64/kernel.xml
r1c9985f r026bb5d 79 79 80 80 <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" 81 88 href="../x86/kernel.xml" 82 89 xpointer="xpointer(//*[@os='u'])"/> -
BOOK/bootable/alpha/fstab.xml
r1c9985f r026bb5d 29 29 proc /proc proc defaults 0 0 30 30 sysfs /sys sysfs defaults 0 0 31 devpts /dev/pts devpts gid= 10,mode=620 0 031 devpts /dev/pts devpts gid=&gid-tty;,mode=620 0 0 32 32 shm /dev/shm tmpfs defaults 0 0 33 tmpfs /run tmpfs defaults 0 0 34 devtmpfs /dev devtmpfs mode=0755,nosuid 0 0 33 35 # End /etc/fstab</literal> 34 36 EOF</userinput></screen> -
BOOK/bootable/alpha/kernel.xml
r1c9985f r026bb5d 90 90 href="../x86/kernel.xml" 91 91 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'])"/> 92 100 93 101 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/bootable/common/fstab.xml
r1c9985f r026bb5d 32 32 devpts /dev/pts devpts gid=&gid-tty;,mode=620 0 0 33 33 shm /dev/shm tmpfs defaults 0 0 34 tmpfs /run tmpfs defaults 0 0 35 devtmpfs /dev devtmpfs mode=0755,nosuid 0 0 36 34 37 # End /etc/fstab</literal> 35 38 EOF</userinput></screen> -
BOOK/bootable/mips/kernel.xml
r1c9985f r026bb5d 81 81 href="../x86/kernel.xml" 82 82 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'])"/> 83 91 84 92 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/bootable/ppc/kernel.xml
r1c9985f r026bb5d 93 93 href="../x86/kernel.xml" 94 94 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'])"/> 95 103 96 104 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/bootable/ppc64/kernel.xml
r1c9985f r026bb5d 85 85 href="../x86/kernel.xml" 86 86 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'])"/> 87 95 88 96 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/bootable/sparc/fstab.xml
r1c9985f r026bb5d 29 29 proc /proc proc defaults 0 0 30 30 sysfs /sys sysfs defaults 0 0 31 devpts /dev/pts devpts gid= 10,mode=620 0 031 devpts /dev/pts devpts gid=&gid-tty;,mode=620 0 0 32 32 shm /dev/shm tmpfs defaults 0 0 33 tmpfs /run tmpfs defaults 0 0 34 devtmpfs /dev devtmpfs mode=0755,nosuid 0 0 33 35 none /proc/openprom openpromfs defaults 0 0 34 36 # End /etc/fstab</literal> -
BOOK/bootable/sparc/kernel.xml
r1c9985f r026bb5d 85 85 href="../x86/kernel.xml" 86 86 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'])"/> 87 95 88 96 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/bootable/x86/grub.xml
r1c9985f r026bb5d 29 29 the computer if the computer becomes unusable (un-bootable).</para> 30 30 31 <para os="c">The first thing we need to do is generate a configuration for32 GRUB. In previous versions of grub we could create the configuration manually33 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 38 31 <warning os="w1"> 39 32 <para>The following command will overwrite the current boot loader. … … 51 44 <screen os="f"><userinput>grub-install /dev/sda</userinput></screen> 52 45 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 53 53 </sect1> -
BOOK/bootable/x86/kernel.xml
r1c9985f r026bb5d 38 38 39 39 <para os="h">Configure the kernel via a menu-driven interface. 40 Please note that the udev bootscript requires "rtc" and "tmpfs" to be40 Please note that the udev bootscript requires "rtc", "tmpfs" and "devtmpfs" to be 41 41 enabled and built into the kernel, not as modules. CBLFS has 42 42 some information regarding particular kernel configuration requirements of … … 72 72 kernel modules because it usually applies to 2.4.x kernels only. As 73 73 far as we know, kernel configuration issues specific to Hotplug and 74 Udev are not documented. The problem is that Udev will create a device74 Eudev are not documented. The problem is that Eudev will create a device 75 75 node only if Hotplug or a user-written script inserts the corresponding 76 76 module into the kernel, and not all modules are detectable by Hotplug. 77 77 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> 79 79 80 80 <screen os="q"><literal>alias char-major-XXX some-module</literal></screen> 81 81 82 <para os="r">Because of the complications with Udev and modules,82 <para os="r">Because of the complications with Eudev and modules, 83 83 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> 85 85 86 86 <para os="s">Install the modules, if the kernel configuration uses … … 88 88 89 89 <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> 90 95 91 96 <para os="u">After kernel compilation is complete, additional steps are -
BOOK/bootable/x86_64/kernel.xml
r1c9985f r026bb5d 85 85 href="../x86/kernel.xml" 86 86 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'])"/> 87 95 88 96 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/bootscripts/alpha-chapter.xml
r1c9985f r026bb5d 17 17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/setclock.xml"/> 18 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/console.xml"/> 19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/ udev.xml"/>19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/> 20 20 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/symlinks.xml"/> 21 21 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/profile.xml"/> -
BOOK/bootscripts/common/bootscripts.xml
r1c9985f r026bb5d 262 262 </varlistentry> 263 263 264 <varlistentry id=" udev-bootscripts">264 <varlistentry id="eudev-bootscripts"> 265 265 <term><command>udev</command></term> 266 266 <listitem> 267 <para>Starts and stops the Udev daemon</para>268 <indexterm zone="ch-scripts-bootscripts udev-bootscripts">269 <primary sortas="d- udev">udev</primary>267 <para>Starts and stops the Eudev daemon</para> 268 <indexterm zone="ch-scripts-bootscripts eudev-bootscripts"> 269 <primary sortas="d-eudev">udev</primary> 270 270 </indexterm> 271 271 </listitem> -
BOOK/bootscripts/common/eudev.xml
r1c9985f r026bb5d 6 6 ]> 7 7 8 <sect1 id="ch-scripts- udev">9 <?dbhtml filename=" udev.html"?>8 <sect1 id="ch-scripts-eudev"> 9 <?dbhtml filename="eudev.html"?> 10 10 11 11 <title>Device and Module Handling on a CLFS System</title> 12 12 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> 15 15 <secondary>usage</secondary> 16 16 </indexterm> 17 17 18 <para>In <xref linkend="chapter-building-system"/>, we installed the Udev18 <para>In <xref linkend="chapter-building-system"/>, we installed the Eudev 19 19 package. Before we go into the details regarding how this works, 20 20 a brief history of previous methods of handling devices is in … … 30 30 the world.</para> 31 31 32 <para>Using the Udev method, only those devices which are detected by the32 <para>Using the Eudev method, only those devices which are detected by the 33 33 kernel get device nodes created for them. Because these device nodes will be 34 34 created each time the system boots, they will be stored on a <systemitem … … 71 71 72 72 <sect2> 73 <title> Udev Implementation</title>73 <title>Eudev Implementation</title> 74 74 75 75 <sect3> … … 93 93 94 94 <sect3> 95 <title> Udev Bootscript</title>95 <title>Eudev Bootscript</title> 96 96 97 97 <para>The <command>S10udev</command> initscript takes care of creating … … 109 109 class="directory">/lib/udev/devices</filename> also provides an easy 110 110 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, 112 112 <command>udevd</command>, which will act on any uevents it receives. 113 113 Finally, the bootscript forces the kernel to replay uevents for any … … 120 120 <title>Device Node Creation</title> 121 121 122 <para>To obtain the right major and minor number for a device, Udev relies122 <para>To obtain the right major and minor number for a device, Eudev relies 123 123 on the information provided by <systemitem 124 124 class="filesystem">sysfs</systemitem> in <filename … … 134 134 <command>udevd</command> can't find a rule for the device it is creating, 135 135 it will default permissions to <emphasis>660</emphasis> and ownership to 136 <emphasis>root:root</emphasis>. Documentation on the syntax of the Udev136 <emphasis>root:root</emphasis>. Documentation on the syntax of the Eudev 137 137 rules configuration files is available in 138 138 <filename>/usr/share/doc/udev/writing_udev_rules/index.html</filename></para> … … 155 155 might contain the string 156 156 <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> 158 158 to call out to <command>/sbin/modprobe</command> with the contents of the 159 159 <envar>MODALIAS</envar> uevent environment variable (that should be the … … 194 194 <title>A kernel module is not loaded automatically</title> 195 195 196 <para> Udev will only load a module if it has a bus-specific alias and the196 <para>Eudev will only load a module if it has a bus-specific alias and the 197 197 bus driver properly exports the necessary aliases to <systemitem 198 198 class="filesystem">sysfs</systemitem>. In other cases, one should 199 arrange module loading by other means. With Linux-&linux-version;, Udev is199 arrange module loading by other means. With Linux-&linux-version;, Eudev is 200 200 known to load properly-written drivers for INPUT, IDE, PCI, USB, SCSI, 201 201 SERIO and FireWire devices.</para> 202 202 203 203 <para>To determine if the device driver you require has the necessary 204 support for Udev, run <command>modinfo</command> with the module name as204 support for Eudev, run <command>modinfo</command> with the module name as 205 205 the argument. Now try locating the device directory under 206 206 <filename class="directory">/sys/bus</filename> and check whether there is … … 210 210 class="filesystem">sysfs</systemitem>, the driver supports the device and 211 211 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 issue212 driver. Load the driver without the help from Eudev and expect the issue 213 213 to be fixed later.</para> 214 214 … … 219 219 busses. Expect this issue to be fixed in later kernel versions.</para> 220 220 221 <para> Udev is not intended to load <quote>wrapper</quote> drivers such as221 <para>Eudev is not intended to load <quote>wrapper</quote> drivers such as 222 222 <emphasis>snd-pcm-oss</emphasis> and non-hardware drivers such as 223 223 <emphasis>loop</emphasis> at all.</para> … … 226 226 227 227 <sect3> 228 <title>A kernel module is not loaded automatically, and Udev is not228 <title>A kernel module is not loaded automatically, and Eudev is not 229 229 intended to load it</title> 230 230 … … 233 233 enhances the functionality of <emphasis>snd-pcm</emphasis> by making the 234 234 sound cards available to OSS applications), configure 235 <command>modprobe</command> to load the wrapper after Udev loads the235 <command>modprobe</command> to load the wrapper after Eudev loads the 236 236 wrapped module. To do this, add an <quote>install</quote> line in 237 237 <filename>/etc/modprobe.conf</filename>. For example:</para> … … 249 249 250 250 <sect3> 251 <title> Udev loads some unwanted module</title>251 <title>Eudev loads some unwanted module</title> 252 252 253 253 <para>Either don't build the module, or blacklist it in … … 263 263 264 264 <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> 266 266 267 267 <para>This usually happens if a rule unexpectedly matches a device. For … … 274 274 275 275 <sect3> 276 <title> Udev rule works unreliably</title>276 <title>Eudev rule works unreliably</title> 277 277 278 278 <para>This may be another manifestation of the previous problem. If not, … … 288 288 289 289 <sect3> 290 <title> Udev does not create a device</title>290 <title>Eudev does not create a device</title> 291 291 292 292 <para>Further text assumes that the driver is built statically into the 293 293 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 kernel294 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 297 297 driver does not export its data to <systemitem 298 298 class="filesystem">sysfs</systemitem>. … … 311 311 <title>Device naming order changes randomly after rebooting</title> 312 312 313 <para>This is due to the fact that Udev, by design, handles uevents and313 <para>This is due to the fact that Eudev, by design, handles uevents and 314 314 loads modules in parallel, and thus in an unpredictable order. This will 315 315 never be <quote>fixed</quote>. You should not rely upon the kernel device 316 316 names being stable. Instead, create your own rules that make symlinks with 317 317 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. 319 319 See <xref linkend="ch-scripts-symlinks"/> and 320 320 <xref linkend="chapter-network"/> for examples.</para> -
BOOK/bootscripts/common/locale.xml
r1c9985f r026bb5d 74 74 to it being added to the Bash startup files:</para> 75 75 76 <screen role="nodump"><userinput>LC_ALL=[locale name] locale country76 <screen role="nodump"><userinput>LC_ALL=[locale name] locale territory 77 77 LC_ALL=[locale name] locale language 78 78 LC_ALL=[locale name] locale charmap -
BOOK/bootscripts/common/symlinks.xml
r1c9985f r026bb5d 45 45 <note> 46 46 <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 rule47 that Eudev does not recognize the backslash for line continuation. 48 If modifying Eudev rules with an editor, be sure to leave each rule 49 49 on one physical line.</para> 50 50 </note> … … 89 89 <title>Dealing with duplicate devices</title> 90 90 91 <para>As explained in <xref linkend="ch-scripts- udev"/>, the order in91 <para>As explained in <xref linkend="ch-scripts-eudev"/>, the order in 92 92 which devices with the same function appear in 93 93 <filename class="directory">/dev</filename> is essentially random. … … 134 134 device.</para> 135 135 136 <para>More information on writing Udev rules can be found in136 <para>More information on writing Eudev rules can be found in 137 137 <filename>/usr/share/doc/udev/writing_udev_rules/index.html</filename>.</para> 138 138 -
BOOK/bootscripts/mips-chapter.xml
r1c9985f r026bb5d 17 17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/setclock.xml"/> 18 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/console.xml"/> 19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/ udev.xml"/>19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/> 20 20 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/symlinks.xml"/> 21 21 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/profile.xml"/> -
BOOK/bootscripts/mips64-64-chapter.xml
r1c9985f r026bb5d 17 17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/setclock.xml"/> 18 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/console.xml"/> 19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/ udev.xml"/>19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/> 20 20 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/symlinks.xml"/> 21 21 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/profile.xml"/> -
BOOK/bootscripts/mips64-chapter.xml
r1c9985f r026bb5d 17 17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/setclock.xml"/> 18 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/console.xml"/> 19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/ udev.xml"/>19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/> 20 20 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/symlinks.xml"/> 21 21 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/profile.xml"/> -
BOOK/bootscripts/ppc-chapter.xml
r1c9985f r026bb5d 17 17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/setclock.xml"/> 18 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/console.xml"/> 19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/ udev.xml"/>19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/> 20 20 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/symlinks.xml"/> 21 21 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/profile.xml"/> -
BOOK/bootscripts/ppc64-chapter.xml
r1c9985f r026bb5d 17 17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/setclock.xml"/> 18 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/console.xml"/> 19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/ udev.xml"/>19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/> 20 20 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/symlinks.xml"/> 21 21 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/profile.xml"/> -
BOOK/bootscripts/sparc-chapter.xml
r1c9985f r026bb5d 17 17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/setclock.xml"/> 18 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/console.xml"/> 19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/ udev.xml"/>19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/> 20 20 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/symlinks.xml"/> 21 21 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/profile.xml"/> -
BOOK/bootscripts/sparc64-64-chapter.xml
r1c9985f r026bb5d 17 17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/setclock.xml"/> 18 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/console.xml"/> 19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/ udev.xml"/>19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/> 20 20 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/symlinks.xml"/> 21 21 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/profile.xml"/> -
BOOK/bootscripts/sparc64-chapter.xml
r1c9985f r026bb5d 17 17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/setclock.xml"/> 18 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/console.xml"/> 19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/ udev.xml"/>19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/> 20 20 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/symlinks.xml"/> 21 21 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/profile.xml"/> -
BOOK/bootscripts/x86-chapter.xml
r1c9985f r026bb5d 17 17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/setclock.xml"/> 18 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/console.xml"/> 19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/ udev.xml"/>19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/> 20 20 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/symlinks.xml"/> 21 21 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/profile.xml"/> -
BOOK/bootscripts/x86_64-64-chapter.xml
r1c9985f r026bb5d 17 17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/setclock.xml"/> 18 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/console.xml"/> 19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/ udev.xml"/>19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/> 20 20 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/symlinks.xml"/> 21 21 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/profile.xml"/> -
BOOK/bootscripts/x86_64-chapter.xml
r1c9985f r026bb5d 17 17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/setclock.xml"/> 18 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/console.xml"/> 19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/ udev.xml"/>19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/> 20 20 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/symlinks.xml"/> 21 21 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/profile.xml"/> -
BOOK/chroot/64/createfiles.xml
r1c9985f r026bb5d 21 21 ln -sv /tools/lib/libgcc_s.so{,.1} /usr/lib 22 22 ln -sv /tools/lib/libstd* /usr/lib 23 ln -sv bash /bin/sh</userinput></screen> 23 ln -sv bash /bin/sh 24 ln -sv /run /var/run</userinput></screen> 24 25 25 26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/chroot/common/createfiles.xml
r1c9985f r026bb5d 19 19 ln -sv /tools/lib/libgcc_s.so{,.1} /usr/lib 20 20 ln -sv /tools/lib/libstd* /usr/lib 21 ln -sv bash /bin/sh</userinput></screen> 21 ln -sv bash /bin/sh 22 ln -sv /run /var/run</userinput></screen> 22 23 23 24 </sect1> -
BOOK/chroot/common/creatingdirs.xml
r1c9985f r026bb5d 16 16 17 17 <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}18 mkdir -pv /{proc,media/{floppy,cdrom},run/shm,sbin,srv,sys} 19 mkdir -pv /var/{lock,log,mail,spool} 20 20 mkdir -pv /var/{opt,cache,lib/{misc,locate},local} 21 21 install -dv -m 0750 /root -
BOOK/chroot/common/devices.xml
r1c9985f r026bb5d 30 30 31 31 <para>This file—<filename>/etc/fstab</filename>—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> 34 35 35 36 </sect2> -
BOOK/chroot/common/kernfs.xml
r1c9985f r026bb5d 36 36 <para>Two device nodes, /dev/console and /dev/null, are required to be 37 37 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> 39 39 40 40 <screen><userinput>mknod -m 600 ${CLFS}/dev/console c 5 1 … … 42 42 43 43 <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 not44 nodes are created by the Eudev package. Since this package is not 45 45 available to us right now, we must take other steps to provide device 46 46 nodes under on the CLFS filesystem. We will use the <quote>bind</quote> … … 54 54 for each of these now:</para> 55 55 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 61 else 62 mount -f -vt tmpfs shm ${CLFS}/dev/shm 63 fi 57 64 mount -f -vt devpts -o gid=&gid-tty;,mode=620 devpts ${CLFS}/dev/pts</userinput></screen> 58 65 -
BOOK/chroot/common/util-linux.xml
r1c9985f r026bb5d 27 27 xpointer="xpointer(//*[@os='a'])"/> 28 28 29 <screen os="b"><userinput> ./configure --prefix=/tools \29 <screen os="b"><userinput>PKG_CONFIG= ./configure --prefix=/tools \ 30 30 --build=${CLFS_HOST} --host=${CLFS_TARGET} \ 31 --disable-makeinstall-chown </userinput></screen>31 --disable-makeinstall-chown --disable-su --disable-login</userinput></screen> 32 32 33 33 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/chroot/mips64/createfiles.xml
r1c9985f r026bb5d 23 23 ln -sv /tools/lib32/libstd* /usr/lib32 24 24 ln -sv /tools/lib64/libstd* /usr/lib64 25 ln -sv bash /bin/sh</userinput></screen> 25 ln -sv bash /bin/sh 26 ln -sv /run /var/run</userinput></screen> 26 27 27 28 </sect1> -
BOOK/chroot/mips64/creatingdirs.xml
r1c9985f r026bb5d 16 16 17 17 <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}18 mkdir -pv /{proc,media/{floppy,cdrom},run/{,shm},sbin,srv,sys} 19 mkdir -pv /var/{lock,log,mail,spool} 20 20 mkdir -pv /var/{opt,cache,lib{,32,64}/{misc,locate},local} 21 21 install -dv /root -m 0750 -
BOOK/chroot/multilib/createfiles.xml
r1c9985f r026bb5d 21 21 ln -sv /tools/lib/libstd* /usr/lib 22 22 ln -sv /tools/lib64/libstd* /usr/lib64 23 ln -sv bash /bin/sh</userinput></screen> 23 ln -sv bash /bin/sh 24 ln -sv /run /var/run</userinput></screen> 24 25 25 26 </sect1> -
BOOK/chroot/multilib/creatingdirs.xml
r1c9985f r026bb5d 16 16 17 17 <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}18 mkdir -pv /{proc,media/{floppy,cdrom},run/{,shm},sbin,srv,sys} 19 mkdir -pv /var/{lock,log,mail,spool} 20 20 mkdir -pv /var/{opt,cache,lib{,64}/{misc,locate},local} 21 21 install -dv /root -m 0750 -
BOOK/chroot/multilib/util-linux.xml
r1c9985f r026bb5d 22 22 <sect2 role="installation"> 23 23 <title>Installation of Util-linux</title> 24 24 25 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 26 26 href="../common/util-linux.xml" 27 27 xpointer="xpointer(//*[@os='a'])"/> 28 28 29 <screen os="be"><userinput>CC="${CC} ${BUILD64}" ./configure --prefix=/tools \29 <screen os="be"><userinput>CC="${CC} ${BUILD64}" PKG_CONFIG= ./configure --prefix=/tools \ 30 30 --build=${CLFS_HOST} --host=${CLFS_TARGET} \ 31 --disable-makeinstall-chown </userinput></screen>31 --disable-makeinstall-chown --disable-login --disable-su</userinput></screen> 32 32 33 33 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/chroot/x86/before-chroot.xml
r1c9985f r026bb5d 35 35 <command>config.guess</command>:</para> 36 36 37 <screen><userinput> lib/config.guess</userinput></screen>37 <screen><userinput>build-aux/config.guess</userinput></screen> 38 38 39 39 <para>If the output of that command does not equal what is in … … 55 55 directory:</para> 56 56 57 <screen><userinput>setarch linux32 lib/config.guess</userinput></screen>57 <screen><userinput>setarch linux32 build-aux/config.guess</userinput></screen> 58 58 59 59 <para>If the output of the command above equals what is in … … 125 125 directory:</para> 126 126 127 <screen os="uui"><userinput> lib/config.guess</userinput></screen>127 <screen os="uui"><userinput>build-aux/config.guess</userinput></screen> 128 128 129 129 <para os="uuj">The output of the above command should be the same as the -
BOOK/cross-tools/64/eglibc.xml
r1c9985f r026bb5d 28 28 29 29 <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'])"/> 32 32 33 33 <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'])"/> 36 36 37 37 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 59 59 ../eglibc-&eglibc-version;/configure --prefix=/tools \ 60 60 --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 \ 63 62 --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> 65 64 66 65 <variablelist os="dg"> … … 107 106 xpointer="xpointer(//*[@os='dg10'])"/> 108 107 108 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 109 href="../common/eglibc.xml" 110 xpointer="xpointer(//*[@os='dg11'])"/> 111 109 112 </variablelist> 110 113 -
BOOK/cross-tools/64/gcc-final.xml
r1c9985f r026bb5d 24 24 25 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 26 href=" gcc-static.xml"26 href="../../final-system/common/gcc.xml" 27 27 xpointer="xpointer(//*[@os='p1'])"/> 28 28 29 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 30 href=" gcc-static.xml"30 href="../../final-system/common/gcc.xml" 31 31 xpointer="xpointer(//*[@os='p2'])"/> 32 32 … … 46 46 href="gcc-static.xml" 47 47 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'])"/>56 48 57 49 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/cross-tools/64/gcc-static.xml
r1c9985f r026bb5d 25 25 26 26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 27 href="../ common/gcc-static.xml"27 href="../../final-system/common/gcc.xml" 28 28 xpointer="xpointer(//*[@os='p1'])"/> 29 29 30 30 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 31 href="../ common/gcc-static.xml"31 href="../../final-system/common/gcc.xml" 32 32 xpointer="xpointer(//*[@os='p2'])"/> 33 33 … … 45 45 href="../common/gcc-static.xml" 46 46 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'])"/>55 47 56 48 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 98 90 xpointer="xpointer(//*[@os='aq'])"/> 99 91 92 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 93 href="../common/gcc-static.xml" 94 xpointer="xpointer(//*[@os='ar'])"/> 95 100 96 </sect2> 101 97 -
BOOK/cross-tools/alpha-chapter.xml
r1c9985f r026bb5d 15 15 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cflags.xml"/> 16 16 <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"/> 18 19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/file.xml"/> 19 20 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/m4.xml"/> … … 22 23 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/mpfr.xml"/> 23 24 <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"/> 26 27 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/binutils-32.xml"/> 27 28 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="alpha/eglibc-headers.xml"/> -
BOOK/cross-tools/alpha/eglibc-headers.xml
r1c9985f r026bb5d 23 23 <title>Installation of EGLIBC Headers</title> 24 24 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 26 href="../common/eglibc.xml" 27 xpointer="xpointer(//*[@os='da'])"/> 28 25 29 <para os="s1">EGLIBC's <filename>configure</filename> script checks the 26 30 version of GCC, and will fail if it's less than 3.4. The next EGLIBC build … … 33 37 <screen os="s2"><userinput>cp -v configure{,.orig} 34 38 sed -e 's/3.4/3.[0-9]/g' configure.orig > 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'])"/> 35 47 36 48 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 61 73 <screen os="s3"><userinput>CC=gcc ../eglibc-&eglibc-version;/configure --prefix=/tools \ 62 74 --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 \ 65 78 --with-binutils=/cross-tools/${CLFS_TARGET}/bin</userinput></screen> 66 79 … … 113 126 114 127 <varlistentry os="ca6"> 115 <term><parameter>--enable-kernel=2.6. 0</parameter></term>128 <term><parameter>--enable-kernel=2.6.32</parameter></term> 116 129 <listitem> 117 130 <para>This tells EGLIBC to compile the library with support 118 for 2.6. xLinux kernels.</para>131 for 2.6.32 and later Linux kernels.</para> 119 132 </listitem> 120 133 </varlistentry> -
BOOK/cross-tools/alpha/eglibc.xml
r1c9985f r026bb5d 28 28 29 29 <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'])"/> 32 32 33 33 <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'])"/> 36 36 37 37 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/cross-tools/alpha/linux-headers.xml
r1c9985f r026bb5d 31 31 xpointer="xpointer(//*[@os='b'])"/> 32 32 33 <screen os="c"><userinput>install -dv /tools/include 34 make mrproper 33 <screen os="c"><userinput>make mrproper 35 34 make ARCH=alpha headers_check 36 make ARCH=alpha INSTALL_HDR_PATH=dest headers_install 37 cp -rv dest/include/* /tools/include</userinput></screen> 35 make ARCH=alpha INSTALL_HDR_PATH=/tools headers_install</userinput></screen> 38 36 39 37 <variablelist os="d"> … … 53 51 54 52 <varlistentry os="d3"> 55 <term><parameter>make ARCH=alpha INSTALL_HDR_PATH= destheaders_install</parameter></term>53 <term><parameter>make ARCH=alpha INSTALL_HDR_PATH=/tools headers_install</parameter></term> 56 54 <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> 62 57 </listitem> 63 58 </varlistentry> -
BOOK/cross-tools/common/binutils-32.xml
r1c9985f r026bb5d 28 28 enable.</para> 29 29 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 --> 30 39 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 31 40 href="../../final-system/common/binutils.xml" … … 40 49 xpointer="xpointer(//*[@os='i'])"/> 41 50 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 \ 43 52 --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> 46 55 47 56 <variablelist os="bd"> 48 <title>The meaning of the configure options:</title>57 <title>The meaning of the new configure options:</title> 49 58 50 59 <varlistentry os="bd1"> 51 <term><parameter> --prefix=/cross-tools</parameter></term>60 <term><parameter>AR=ar AS=as</parameter></term> 52 61 <listitem> 53 <para>This tells the configure script to prepare to install the54 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> 56 65 </listitem> 57 66 </varlistentry> … … 93 102 94 103 <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">102 104 <term><parameter>--disable-multilib</parameter></term> 103 105 <listitem> … … 134 136 <filename class="directory">/tools/include</filename> directory:</para> 135 137 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> 137 139 138 140 </sect2> -
BOOK/cross-tools/common/binutils.xml
r1c9985f r026bb5d 28 28 enable.</para> 29 29 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 --> 30 39 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 31 40 href="../../final-system/common/binutils.xml" … … 40 49 xpointer="xpointer(//*[@os='i'])"/> 41 50 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 \ 43 52 --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> 46 55 47 56 <variablelist os="bd"> 48 <title>The meaning of the configure options:</title>57 <title>The meaning of the new configure options:</title> 49 58 50 59 <varlistentry os="bd1"> 51 <term><parameter> --prefix=/cross-tools</parameter></term>60 <term><parameter>AR=ar AS=as</parameter></term> 52 61 <listitem> 53 <para>This tells the configure script to prepare to install the54 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> 56 65 </listitem> 57 66 </varlistentry> … … 93 102 94 103 <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">102 104 <term><parameter>--disable-multilib</parameter></term> 103 105 <listitem> … … 107 109 </varlistentry> 108 110 109 <varlistentry os="bd 8">111 <varlistentry os="bd7"> 110 112 <term><parameter>--enable-64-bit-bfd</parameter></term> 111 113 <listitem> … … 141 143 <filename class="directory">/tools/include</filename> directory:</para> 142 144 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> 144 146 145 147 </sect2> -
BOOK/cross-tools/common/cloog.xml
r1c9985f r026bb5d 6 6 ]> 7 7 8 <sect1 id="ch-cross-tools- ppl" role="wrap">9 <?dbhtml filename=" ppl.html"?>8 <sect1 id="ch-cross-tools-cloog" role="wrap"> 9 <?dbhtml filename="cloog.html"?> 10 10 11 <title> PPL-&ppl-version;</title>11 <title>CLooG-&cloog-version;</title> 12 12 13 <indexterm zone="ch-cross-tools- ppl">14 <primary sortas="a- PPL">PPL</primary>13 <indexterm zone="ch-cross-tools-cloog"> 14 <primary sortas="a-CLooG">CLooG</primary> 15 15 <secondary>cross-tools</secondary> 16 16 </indexterm> 17 17 18 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 19 href="../../final-system/common/ ppl.xml"19 href="../../final-system/common/cloog.xml" 20 20 xpointer="xpointer(//*[@role='package'])"/> 21 21 22 22 <sect2 role="installation"> 23 <title>Installation of PPL</title>23 <title>Installation of CLooG</title> 24 24 25 <para os="a">Prepare PPLfor compilation:</para>25 <para os="a">Prepare CLooG for compilation:</para> 26 26 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 --with-isl-prefix=/cross-tools</userinput></screen> 33 30 34 31 <para os="c">Compile the package:</para> … … 46 43 47 44 <para>Details on this package are located in <xref 48 linkend="contents- ppl" role="."/></para>45 linkend="contents-cloog" role="."/></para> 49 46 50 47 </sect2> -
BOOK/cross-tools/common/eglibc.xml
r1c9985f r026bb5d 27 27 risk.</para> 28 28 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'])"/> 30 32 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'])"/> 33 36 34 37 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 40 43 xpointer="xpointer(//*[@os='f'])"/> 41 44 42 <para os="dd"> The following lines need to be added to43 <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> 44 47 45 <screen os="de"><userinput>cat > config.cache << "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" > config.cache</userinput></screen> 51 49 52 50 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 58 56 ../eglibc-&eglibc-version;/configure --prefix=/tools \ 59 57 --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 \ 63 61 --cache-file=config.cache</userinput></screen> 64 62 … … 107 105 108 106 <varlistentry os="dg6"> 109 <term><parameter>--enable-add-ons</parameter></term>110 <listitem>111 <para>This tells EGLIBC to utilize all add-ons that are112 available.</para>113 </listitem>114 </varlistentry>115 116 <varlistentry os="dg7">117 107 <term><parameter>--with-tls</parameter></term> 118 108 <listitem> … … 121 111 </varlistentry> 122 112 123 <varlistentry os="dg 8">124 <term><parameter>--enable-kernel=2.6. 0</parameter></term>113 <varlistentry os="dg7"> 114 <term><parameter>--enable-kernel=2.6.32</parameter></term> 125 115 <listitem> 126 116 <para>This tells EGLIBC to compile the library with support 127 for 2.6. xLinux kernels.</para>117 for 2.6.32 and later Linux kernels.</para> 128 118 </listitem> 129 119 </varlistentry> 130 120 131 <varlistentry os="dg 9">121 <varlistentry os="dg8"> 132 122 <term><parameter>--with-__thread</parameter></term> 133 123 <listitem> … … 137 127 </varlistentry> 138 128 139 <varlistentry os="dg 10">129 <varlistentry os="dg9"> 140 130 <term><parameter>--with-binutils=/cross-tools/bin</parameter></term> 141 131 <listitem> … … 145 135 </varlistentry> 146 136 147 <varlistentry os="dg1 1">137 <varlistentry os="dg10"> 148 138 <term><parameter>--with-headers=/tools/include</parameter></term> 149 139 <listitem> … … 155 145 </varlistentry> 156 146 157 <varlistentry os="dg1 2">147 <varlistentry os="dg11"> 158 148 <term><parameter>--cache-file=config.cache</parameter></term> 159 149 <listitem> -
BOOK/cross-tools/common/file.xml
r1c9985f r026bb5d 6 6 ]> 7 7 8 <sect1 id="ch-cross-tools-file" >8 <sect1 id="ch-cross-tools-file" role="wrap"> 9 9 <?dbhtml filename="file.html"?> 10 10 … … 25 25 <para>Prepare File for compilation:</para> 26 26 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> 28 50 29 51 <para>Compile the package:</para> -
BOOK/cross-tools/common/gcc-final.xml
r1c9985f r026bb5d 24 24 25 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 26 href=" gcc-static.xml"26 href="../../final-system/common/gcc.xml" 27 27 xpointer="xpointer(//*[@os='p1'])"/> 28 28 29 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 30 href=" gcc-static.xml"30 href="../../final-system/common/gcc.xml" 31 31 xpointer="xpointer(//*[@os='p2'])"/> 32 32 … … 49 49 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 50 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'])"/>56 57 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"58 href="gcc-static.xml"59 51 xpointer="xpointer(//*[@os='f'])"/> 60 52 … … 70 62 ../gcc-&gcc-version;/configure --prefix=/cross-tools \ 71 63 --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> 77 73 78 74 <variablelist os="bg"> -
BOOK/cross-tools/common/gcc-static.xml
r1c9985f r026bb5d 24 24 and no Threads</title> 25 25 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'])"/> 30 33 31 34 <para os="aa">Make a couple of essential adjustments to the … … 35 38 <screen os="ab"><userinput>patch -Np1 -i ../&gcc-specs-patch;</userinput></screen> 36 39 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 42 44 echo -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 default45 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 > gcc/Makefile.in</userinput></screen>50 45 51 46 <para os="t1">We will create a dummy <filename>limits.h</filename> so … … 69 64 ../gcc-&gcc-version;/configure --prefix=/cross-tools \ 70 65 --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 \ 72 68 --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> 77 76 78 77 <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> 80 86 81 87 <varlistentry> … … 90 96 </varlistentry> 91 97 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> 96 155 </listitem> 97 156 </varlistentry> … … 108 167 109 168 <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> 110 197 <term><parameter>--enable-languages=c</parameter></term> 111 198 <listitem> … … 114 201 </varlistentry> 115 202 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 116 210 </variablelist> 117 211 … … 120 214 <screen os="ao"><userinput>make all-gcc all-target-libgcc</userinput></screen> 121 215 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> 125 232 126 233 </sect2> -
BOOK/cross-tools/common/gmp.xml
r1c9985f r026bb5d 33 33 --> 34 34 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 35 42 <para os="a">Prepare GMP for compilation:</para> 36 43 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> 39 58 40 59 <para os="c">Compile the package:</para> -
BOOK/cross-tools/common/introduction.xml
r1c9985f r026bb5d 22 22 <important> 23 23 <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> 28 26 </important> 29 27 -
BOOK/cross-tools/common/mpc.xml
r1c9985f r026bb5d 26 26 27 27 <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> 31 30 32 31 <para os="c">Compile the package:</para> -
BOOK/cross-tools/common/mpfr.xml
r1c9985f r026bb5d 23 23 <title>Installation of MPFR</title> 24 24 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 25 33 <para os="a">Prepare MPFR for compilation:</para> 26 34 27 35 <screen os="b"><userinput>LDFLAGS="-Wl,-rpath,/cross-tools/lib" \ 28 36 ./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> 30 66 31 67 <para os="c">Compile the package:</para> -
BOOK/cross-tools/common/ncurses.xml
r1c9985f r026bb5d 36 36 --without-debug --without-shared</userinput></screen> 37 37 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 38 58 <para os="c">Only one binary is needed for the Cross-Tools. Build the 39 59 headers and then build <command>tic</command>:</para> -
BOOK/cross-tools/mips-chapter.xml
r1c9985f r026bb5d 15 15 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cflags.xml"/> 16 16 <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"/> 17 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/linux-headers.xml"/> 18 19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/file.xml"/> … … 22 23 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/mpfr.xml"/> 23 24 <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"/> 26 27 <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"/> 28 29 <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"/> 30 31 31 32 </chapter> -
BOOK/cross-tools/mips/eglibc.xml
r1c9985f r026bb5d 28 28 29 29 <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'])"/> 32 32 33 33 <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'])"/> 44 36 45 37 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/cross-tools/mips/linux-headers.xml
r1c9985f r026bb5d 31 31 xpointer="xpointer(//*[@os='b'])"/> 32 32 33 <screen os="c"><userinput>install -dv /tools/include 34 make mrproper 33 <screen os="c"><userinput>make mrproper 35 34 make ARCH=mips headers_check 36 make ARCH=mips INSTALL_HDR_PATH=dest headers_install 37 cp -rv dest/include/* /tools/include</userinput></screen> 35 make ARCH=mips INSTALL_HDR_PATH=/tools headers_install</userinput></screen> 38 36 39 37 <variablelist os="d"> … … 53 51 54 52 <varlistentry os="d3"> 55 <term><parameter>make ARCH=mips INSTALL_HDR_PATH= destheaders_install</parameter></term>53 <term><parameter>make ARCH=mips INSTALL_HDR_PATH=/tools headers_install</parameter></term> 56 54 <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> 62 57 </listitem> 63 58 </varlistentry> -
BOOK/cross-tools/mips64-64-chapter.xml
r1c9985f r026bb5d 16 16 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64-64/variables.xml"/> 17 17 <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"/> 18 19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/linux-headers.xml"/> 19 20 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/file.xml"/> … … 23 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/mpfr.xml"/> 24 25 <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"/> 27 28 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/binutils.xml"/> 28 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64-64/gcc-static.xml"/> -
BOOK/cross-tools/mips64-64/eglibc.xml
r1c9985f r026bb5d 28 28 29 29 <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"46 30 href="../../final-system/mips64/eglibc-64bit.xml" 47 31 xpointer="xpointer(//*[@os='m3'])"/> … … 50 34 href="../../final-system/mips64/eglibc-64bit.xml" 51 35 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'])"/> 52 44 53 45 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 107 99 xpointer="xpointer(//*[@os='dn'])"/> 108 100 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 109 109 </sect2> 110 110 -
BOOK/cross-tools/mips64-64/gcc-final.xml
r1c9985f r026bb5d 24 24 25 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 26 href=" gcc-static.xml"26 href="../../final-system/common/gcc.xml" 27 27 xpointer="xpointer(//*[@os='p1'])"/> 28 28 29 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 30 href=" gcc-static.xml"30 href="../../final-system/common/gcc.xml" 31 31 xpointer="xpointer(//*[@os='p2'])"/> 32 33 32 34 33 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 50 49 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 51 50 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"60 51 xpointer="xpointer(//*[@os='f'])"/> 61 52 … … 71 62 ../gcc-&gcc-version;/configure --prefix=/cross-tools \ 72 63 --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> 78 75 79 76 <variablelist os="bg"> -
BOOK/cross-tools/mips64-64/gcc-static.xml
r1c9985f r026bb5d 25 25 26 26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 27 href="../ common/gcc-static.xml"27 href="../../final-system/common/gcc.xml" 28 28 xpointer="xpointer(//*[@os='p1'])"/> 29 29 30 30 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 31 href="../ 64/gcc-static.xml"31 href="../../final-system/common/gcc.xml" 32 32 xpointer="xpointer(//*[@os='p2'])"/> 33 33 … … 47 47 href="../common/gcc-static.xml" 48 48 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'])"/>57 49 58 50 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 79 71 ../gcc-&gcc-version;/configure --prefix=/cross-tools \ 80 72 --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> 87 81 88 82 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 106 100 xpointer="xpointer(//*[@os='aq'])"/> 107 101 102 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 103 href="../common/gcc-static.xml" 104 xpointer="xpointer(//*[@os='ar'])"/> 105 108 106 </sect2> 109 107 -
BOOK/cross-tools/mips64-chapter.xml
r1c9985f r026bb5d 16 16 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/variables.xml"/> 17 17 <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"/> 18 19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/linux-headers.xml"/> 19 20 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/file.xml"/> … … 23 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/mpfr.xml"/> 24 25 <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"/> 27 28 <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="m ultilib/gcc-static.xml"/>29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/gcc-static.xml"/> 29 30 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/eglibc.xml"/> 30 31 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/eglibc-n32.xml"/> 31 32 <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="m ultilib/gcc-final.xml"/>33 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/gcc-final.xml"/> 33 34 34 35 </chapter> -
BOOK/cross-tools/mips64/eglibc-64bit.xml
r1c9985f r026bb5d 28 28 29 29 <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"46 30 href="../../final-system/mips64/eglibc-64bit.xml" 47 31 xpointer="xpointer(//*[@os='m3'])"/> … … 50 34 href="../../final-system/mips64/eglibc-64bit.xml" 51 35 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'])"/> 52 44 53 45 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/cross-tools/mips64/eglibc-n32.xml
r1c9985f r026bb5d 28 28 29 29 <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"46 30 href="../../final-system/mips64/eglibc-64bit.xml" 47 31 xpointer="xpointer(//*[@os='m3'])"/> … … 50 34 href="../../final-system/mips64/eglibc-64bit.xml" 51 35 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'])"/> 52 44 53 45 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 80 72 ../eglibc-&eglibc-version;/configure --prefix=/tools \ 81 73 --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 \ 84 75 --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> 86 77 87 78 <variablelist os="fa"> -
BOOK/cross-tools/mips64/eglibc.xml
r1c9985f r026bb5d 28 28 29 29 <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'])"/> 32 32 33 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'])"/> 34 href="../../final-system/common/eglibc.xml" 35 xpointer="xpointer(//*[@os='s2'])"/> 44 36 45 37 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/cross-tools/multilib/binutils.xml
r1c9985f r026bb5d 27 27 xpointer="xpointer(//*[@os='da'])"/> 28 28 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 --> 29 38 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 30 39 href="../common/binutils.xml" … … 39 48 xpointer="xpointer(//*[@os='i'])"/> 40 49 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 \ 42 51 --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> 45 54 46 55 <variablelist os="bd"> … … 73 82 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 74 83 href="../common/binutils.xml" 75 xpointer="xpointer(//*[@os='bd 8'])"/>84 xpointer="xpointer(//*[@os='bd7'])"/> 76 85 77 86 </variablelist> -
BOOK/cross-tools/multilib/eglibc-64bit.xml
r1c9985f r026bb5d 28 28 29 29 <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'])"/> 32 32 33 33 <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'])"/> 36 36 37 37 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 64 64 ../eglibc-&eglibc-version;/configure --prefix=/tools \ 65 65 --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 \ 68 67 --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> 70 69 71 70 <variablelist os="dg"> -
BOOK/cross-tools/multilib/eglibc.xml
r1c9985f r026bb5d 28 28 29 29 <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'])"/> 32 32 33 33 <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'])"/> 36 36 37 37 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 59 59 ../eglibc-&eglibc-version;/configure --prefix=/tools \ 60 60 --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 \ 63 62 --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> 65 64 66 65 <variablelist os="dg"> … … 111 110 xpointer="xpointer(//*[@os='dg10'])"/> 112 111 112 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 113 href="../common/eglibc.xml" 114 xpointer="xpointer(//*[@os='dg11'])"/> 115 113 116 </variablelist> 114 117 -
BOOK/cross-tools/multilib/gcc-final.xml
r1c9985f r026bb5d 24 24 25 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 26 href=" gcc-static.xml"26 href="../../final-system/common/gcc.xml" 27 27 xpointer="xpointer(//*[@os='p1'])"/> 28 28 29 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 30 href=" gcc-static.xml"30 href="../../final-system/common/gcc.xml" 31 31 xpointer="xpointer(//*[@os='p2'])"/> 32 32 … … 49 49 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 50 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'])"/>56 57 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"58 href="gcc-static.xml"59 51 xpointer="xpointer(//*[@os='f'])"/> 60 52 … … 70 62 ../gcc-&gcc-version;/configure --prefix=/cross-tools \ 71 63 --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> 77 73 78 74 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/cross-tools/multilib/gcc-static.xml
r1c9985f r026bb5d 25 25 26 26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 27 href="../ common/gcc-static.xml"27 href="../../final-system/common/gcc.xml" 28 28 xpointer="xpointer(//*[@os='p1'])"/> 29 29 30 30 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 31 href="../ common/gcc-static.xml"31 href="../../final-system/common/gcc.xml" 32 32 xpointer="xpointer(//*[@os='p2'])"/> 33 33 … … 47 47 href="../common/gcc-static.xml" 48 48 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'])"/>57 49 58 50 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 79 71 ../gcc-&gcc-version;/configure --prefix=/cross-tools \ 80 72 --build=${CLFS_HOST} --host=${CLFS_HOST} --target=${CLFS_TARGET} \ 81 --with-sysroot=${CLFS} --with-local-prefix=/tools --disable-nls \ 73 --with-sysroot=${CLFS} --with-local-prefix=/tools \ 74 --with-native-system-header-dir=/tools/include --disable-nls \ 82 75 --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</userinput></screen> 76 --with-cloog=/cross-tools --with-mpc=/cross-tools --without-headers \ 77 --with-newlib --disable-decimal-float --disable-libgomp --disable-libmudflap \ 78 --disable-libssp --disable-threads --disable-libatomic --disable-libitm \ 79 --disable-libsanitizer --disable-libquadmath --disable-target-libiberty \ 80 --disable-target-zlib --with-system-zlib --enable-cloog-backend=isl \ 81 --with-isl=/cross-tools --disable-isl-version-check --enable-languages=c \ 82 --enable-checking=release</userinput></screen> 87 83 88 84 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 106 102 xpointer="xpointer(//*[@os='aq'])"/> 107 103 104 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 105 href="../common/gcc-static.xml" 106 xpointer="xpointer(//*[@os='ar'])"/> 107 108 108 </sect2> 109 109 -
BOOK/cross-tools/ppc-chapter.xml
r1c9985f r026bb5d 15 15 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cflags.xml"/> 16 16 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc/variables.xml"/> 17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/> 17 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc/linux-headers.xml"/> 18 19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/file.xml"/> … … 22 23 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/mpfr.xml"/> 23 24 <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"/> 26 27 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/binutils-32.xml"/> 27 28 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc/gcc-static.xml"/> -
BOOK/cross-tools/ppc/eglibc.xml
r1c9985f r026bb5d 28 28 29 29 <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'])"/> 32 32 33 33 <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'])"/> 36 36 37 37 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 47 47 xpointer="xpointer(//*[@os='dd'])"/> 48 48 49 <screen os="de"><userinput>cat > config.cache << "EOF" 50 libc_cv_forced_unwind=yes 51 libc_cv_c_cleanup=yes 52 libc_cv_ppc_machine=yes 53 libc_cv_gnu89_inline=yes 54 libc_cv_ssp=no 55 EOF</userinput></screen> 49 <screen os="de"><userinput>echo "libc_cv_ssp=no" > config.cache</userinput></screen> 56 50 57 51 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/cross-tools/ppc/gcc-final.xml
r1c9985f r026bb5d 24 24 25 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 26 href=" gcc-static.xml"26 href="../../final-system/common/gcc.xml" 27 27 xpointer="xpointer(//*[@os='p1'])"/> 28 28 29 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 30 href=" gcc-static.xml"30 href="../../final-system/common/gcc.xml" 31 31 xpointer="xpointer(//*[@os='p2'])"/> 32 32 … … 46 46 href="gcc-static.xml" 47 47 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'])"/>56 48 57 49 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/cross-tools/ppc/gcc-static.xml
r1c9985f r026bb5d 25 25 26 26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 27 href="../ common/gcc-static.xml"27 href="../../final-system/common/gcc.xml" 28 28 xpointer="xpointer(//*[@os='p1'])"/> 29 29 30 30 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 31 href="../ common/gcc-static.xml"31 href="../../final-system/common/gcc.xml" 32 32 xpointer="xpointer(//*[@os='p2'])"/> 33 33 … … 44 44 xpointer="xpointer(//*[@os='ag'])"/> 45 45 46 <screen os="ah"><userinput>echo -en '#undef STANDARD_INCLUDE_DIR\n#define STANDARD_INCLUDE_DIR "/tools/include/"\n\n' >> gcc/config/rs6000/sysv4.h 47 echo -en '\n#undef STANDARD_STARTFILE_PREFIX_1\n#define STANDARD_STARTFILE_PREFIX_1 "/tools/lib/"\n' >> gcc/config/rs6000/sysv4.h 46 <screen os="ah"><userinput>echo -en '\n#undef STANDARD_STARTFILE_PREFIX_1\n#define STANDARD_STARTFILE_PREFIX_1 "/tools/lib/"\n' >> gcc/config/rs6000/sysv4.h 48 47 echo -en '\n#undef STANDARD_STARTFILE_PREFIX_2\n#define STANDARD_STARTFILE_PREFIX_2 ""\n' >> gcc/config/rs6000/sysv4.h</userinput></screen> 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'])"/>57 48 58 49 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 100 91 xpointer="xpointer(//*[@os='aq'])"/> 101 92 93 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 94 href="../common/gcc-static.xml" 95 xpointer="xpointer(//*[@os='ar'])"/> 96 102 97 </sect2> 103 98 -
BOOK/cross-tools/ppc/linux-headers.xml
r1c9985f r026bb5d 31 31 xpointer="xpointer(//*[@os='b'])"/> 32 32 33 <screen os="c"><userinput>install -dv /tools/include 34 make mrproper 33 <screen os="c"><userinput>make mrproper 35 34 make ARCH=powerpc headers_check 36 make ARCH=powerpc INSTALL_HDR_PATH=dest headers_install 37 cp -rv dest/include/* /tools/include</userinput></screen> 35 make ARCH=powerpc INSTALL_HDR_PATH=/tools headers_install</userinput></screen> 38 36 39 37 <variablelist os="d"> … … 53 51 54 52 <varlistentry os="d3"> 55 <term><parameter>make ARCH=powerpc INSTALL_HDR_PATH= destheaders_install</parameter></term>53 <term><parameter>make ARCH=powerpc INSTALL_HDR_PATH=/tools headers_install</parameter></term> 56 54 <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> 62 57 </listitem> 63 58 </varlistentry> -
BOOK/cross-tools/ppc64-chapter.xml
r1c9985f r026bb5d 16 16 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/variables.xml"/> 17 17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/flags.xml"/> 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/> 18 19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc/linux-headers.xml"/> 19 20 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/file.xml"/> … … 23 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/mpfr.xml"/> 24 25 <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"/> 27 28 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/binutils.xml"/> 28 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/gcc-static.xml"/> -
BOOK/cross-tools/ppc64/eglibc-64bit.xml
r1c9985f r026bb5d 28 28 29 29 <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'])"/> 32 32 33 33 <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'])"/> 36 36 37 37 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/cross-tools/ppc64/eglibc.xml
r1c9985f r026bb5d 28 28 29 29 <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'])"/> 32 32 33 33 <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'])"/> 36 36 37 37 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 94 94 xpointer="xpointer(//*[@os='dg10'])"/> 95 95 96 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 97 href="../common/eglibc.xml" 98 xpointer="xpointer(//*[@os='dg11'])"/> 99 96 100 </variablelist> 97 101 -
BOOK/cross-tools/ppc64/gcc-final.xml
r1c9985f r026bb5d 24 24 25 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 26 href=" gcc-static.xml"26 href="../../final-system/common/gcc.xml" 27 27 xpointer="xpointer(//*[@os='p1'])"/> 28 28 29 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 30 href=" gcc-static.xml"30 href="../../final-system/common/gcc.xml" 31 31 xpointer="xpointer(//*[@os='p2'])"/> 32 32 … … 46 46 href="gcc-static.xml" 47 47 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'])"/>56 48 57 49 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/cross-tools/ppc64/gcc-static.xml
r1c9985f r026bb5d 25 25 26 26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 27 href="../ common/gcc-static.xml"27 href="../../final-system/common/gcc.xml" 28 28 xpointer="xpointer(//*[@os='p1'])"/> 29 29 30 30 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 31 href="../ common/gcc-static.xml"31 href="../../final-system/common/gcc.xml" 32 32 xpointer="xpointer(//*[@os='p2'])"/> 33 33 … … 47 47 href="../ppc/gcc-static.xml" 48 48 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'])"/>57 49 58 50 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 100 92 xpointer="xpointer(//*[@os='aq'])"/> 101 93 94 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 95 href="../common/gcc-static.xml" 96 xpointer="xpointer(//*[@os='ar'])"/> 97 102 98 </sect2> 103 99 -
BOOK/cross-tools/sparc-chapter.xml
r1c9985f r026bb5d 15 15 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cflags.xml"/> 16 16 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/variables.xml"/> 17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/> 17 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/linux-headers.xml"/> 18 19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/file.xml"/> … … 22 23 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/mpfr.xml"/> 23 24 <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"/> 26 27 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/binutils-32.xml"/> 27 28 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/gcc-static.xml"/> -
BOOK/cross-tools/sparc/linux-headers.xml
r1c9985f r026bb5d 31 31 xpointer="xpointer(//*[@os='b'])"/> 32 32 33 <screen os="c"><userinput>install -dv /tools/include 34 make mrproper 33 <screen os="c"><userinput>make mrproper 35 34 make ARCH=sparc headers_check 36 make ARCH=sparc INSTALL_HDR_PATH=dest headers_install 37 cp -rv dest/include/* /tools/include</userinput></screen> 35 make ARCH=sparc INSTALL_HDR_PATH=/tools headers_install</userinput></screen> 38 36 39 37 <variablelist os="d"> … … 53 51 54 52 <varlistentry os="d3"> 55 <term><parameter>make ARCH=sparc INSTALL_HDR_PATH= destheaders_install</parameter></term>53 <term><parameter>make ARCH=sparc INSTALL_HDR_PATH=/tools headers_install</parameter></term> 56 54 <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> 62 57 </listitem> 63 58 </varlistentry> -
BOOK/cross-tools/sparc64-64-chapter.xml
r1c9985f r026bb5d 16 16 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc64-64/variables.xml"/> 17 17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc64-64/flags.xml"/> 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/> 18 19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc64/linux-headers.xml"/> 19 20 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/file.xml"/> … … 23 24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/mpfr.xml"/> 24 25 <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