Changeset 229ed25
- Timestamp:
- Jan 4, 2014, 8:03:38 AM (11 years ago)
- Branches:
- clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- f90d077
- Parents:
- ec008670 (diff), e57ce38 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Files:
-
- 83 added
- 28 deleted
- 403 edited
- 29 moved
Legend:
- Unmodified
- Added
- Removed
-
BOOK/Makefile
rec008670 r229ed25 21 21 sparc sparc64 sparc64-64 \ 22 22 mips mips64 mips64-64 \ 23 ppc ppc64 \23 ppc ppc64 ppc64-64 \ 24 24 alpha 25 25 … … 198 198 $(TOP)/$(arch)-index.xml 199 199 200 ARCHS_MD5LIST := $(ARCHS:%=%-md5list) 201 .PHONY: md5-list $(ARCHS_MD5LIST) 202 md5-list: $(ARCHS_MD5LIST) 203 $(ARCHS_MD5LIST): override arch = $(@:%-md5list=%) 204 $(ARCHS_MD5LIST): 205 @echo "Creating md5 hash list for $(arch)..." 206 $(Q)mkdir -p $(DLLISTDIR) 207 $(Q)xsltproc --xinclude --nonet \ 208 --output $(DLLISTDIR)/$(arch).md5sum \ 209 $(TOP)/stylesheets/md5sum.xsl \ 210 $(TOP)/$(arch)-index.xml 211 200 212 FG_GREEN := $(shell echo -e '\e[0;32m') 201 213 FG_BLUE := $(shell echo -e '\e[0;34m') … … 227 239 @echo "Download-List Targets" 228 240 @echo " $(FG_GREEN)download-list $(FG_BLUE)$(ARCHS_DLLIST)$(FG_DEFAULT)" 241 @echo "md5-List Targets" 242 @echo " $(FG_GREEN)md5-list $(FG_BLUE)$(ARCHS_MD5LIST)$(FG_DEFAULT)" -
BOOK/alpha-index.xml
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 144 144 </segmentedlist> 145 145 146 <!-- Begin Bc dependency info --> 147 <bridgehead renderas="sect2" id="bc-dep">Bc</bridgehead> 148 149 <segmentedlist> 150 <segtitle>&dependencies;</segtitle> 151 152 <seglistitem> 153 <seg>Bash, Binutils, Bison, Coreutils, EGLIBC, GCC, Grep, Make, 154 and Readline</seg> 155 </seglistitem> 156 </segmentedlist> 157 158 <segmentedlist> 159 <segtitle>&testsuites;</segtitle> 160 161 <seglistitem> 162 <seg>Gawk</seg> 163 </seglistitem> 164 </segmentedlist> 165 166 <segmentedlist> 167 <segtitle>&before;</segtitle> 168 169 <seglistitem> 170 <seg>None</seg> 171 </seglistitem> 172 </segmentedlist> 173 146 174 <!-- Begin Binutils dependency info --> 147 175 <bridgehead renderas="sect2" id="binutils-dep">Binutils</bridgehead> … … 254 282 </segmentedlist> 255 283 284 <!-- Begin Check dependency info --> 285 <bridgehead renderas="sect2" id="check-dep">Check</bridgehead> 286 287 <segmentedlist> 288 <segtitle>&dependencies;</segtitle> 289 290 <seglistitem> 291 <seg>GCC, Grep, Make, Sed and Texinfo</seg> 292 </seglistitem> 293 </segmentedlist> 294 295 <segmentedlist> 296 <segtitle>&testsuites;</segtitle> 297 298 <seglistitem> 299 <seg>None</seg> 300 </seglistitem> 301 </segmentedlist> 302 303 <segmentedlist> 304 <segtitle>&before;</segtitle> 305 306 <seglistitem> 307 <seg>None</seg> 308 </seglistitem> 309 </segmentedlist> 310 311 <!-- Begin CLooG-ISL dependency info --> 312 <bridgehead renderas="sect2" id="cloog-isl-dep">CLooG-ISL</bridgehead> 313 314 <segmentedlist> 315 <segtitle>&dependencies;</segtitle> 316 317 <seglistitem> 318 <seg>Bash, Binutils, Coreutils, Diffutils, EGLIBC, Gawk, GCC, Grep, GMP, 319 Make, MPC, MPFR, Sed and Texinfo</seg> 320 </seglistitem> 321 </segmentedlist> 322 323 <segmentedlist> 324 <segtitle>&testsuites;</segtitle> 325 326 <seglistitem> 327 <seg>None</seg> 328 </seglistitem> 329 </segmentedlist> 330 331 <segmentedlist> 332 <segtitle>&before;</segtitle> 333 334 <seglistitem> 335 <seg>GCC</seg> 336 </seglistitem> 337 </segmentedlist> 338 256 339 <!-- Begin Coreutils dependency info --> 257 340 <bridgehead renderas="sect2" id="coreutils-dep">Coreutils</bridgehead> … … 278 361 279 362 <seglistitem> 280 <seg>Bash, Diffutils, Findutils, Man and Udev</seg>363 <seg>Bash, Diffutils, Findutils, Man and Eudev</seg> 281 364 </seglistitem> 282 365 </segmentedlist> … … 484 567 <seglistitem> 485 568 <seg>Bash, Binutils, Coreutils, EGLIBC, Gawk, GCC, Gettext, Grep, Gzip, 486 Make, Pkg-config , Sed, Texinfo and Util-linux</seg>569 Make, Pkg-config-lite, Sed, Texinfo and Util-linux</seg> 487 570 </seglistitem> 488 571 </segmentedlist> … … 622 705 623 706 <seglistitem> 624 <seg>Bash, Binutils, Coreutils, Diffutils, EGLIBC, Findutils, Gawk, 625 GCC, GMP, Grep, Make, MPFR, Patch, Perl, Sed, Tar and Texinfo</seg> 626 </seglistitem> 627 </segmentedlist> 628 629 <segmentedlist> 630 <segtitle>&testsuites;</segtitle> 631 632 <seglistitem> 633 <seg>DejaGNU and Expect</seg> 707 <seg>Bash, Binutils, CLooG-ISL, Coreutils, Diffutils, EGLIBC, 708 Findutils, Gawk, GCC, GMP, Grep, ISL, Make, MPFR, Patch, Perl, Sed, 709 Tar and Texinfo</seg> 710 </seglistitem> 711 </segmentedlist> 712 713 <segmentedlist> 714 <segtitle>&testsuites;</segtitle> 715 716 <seglistitem> 717 <seg>Check, DejaGNU, and Expect</seg> 634 718 </seglistitem> 635 719 </segmentedlist> … … 671 755 </segmentedlist> 672 756 757 <!-- Begin Glib dependency info --> 758 <bridgehead renderas="sect2" id="glib-dep">Glib</bridgehead> 759 760 <segmentedlist> 761 <segtitle>&dependencies;</segtitle> 762 763 <seglistitem> 764 <seg>bash, binutils, coreutils, gawk, gcc, gettext, make & M4.</seg> 765 </seglistitem> 766 </segmentedlist> 767 768 <segmentedlist> 769 <segtitle>&testsuites;</segtitle> 770 771 <seglistitem> 772 <seg>Unknown</seg> 773 </seglistitem> 774 </segmentedlist> 775 776 <segmentedlist> 777 <segtitle>&before;</segtitle> 778 779 <seglistitem> 780 <seg>Pkg-config-lite</seg> 781 </seglistitem> 782 </segmentedlist> 783 673 784 <!-- Begin GMP dependency info --> 674 785 <bridgehead renderas="sect2" id="gmp-dep">GMP</bridgehead> … … 865 976 </segmentedlist> 866 977 978 <!-- Begin ISL dependency info --> 979 <bridgehead renderas="sect2" id="isl-dep">ISL</bridgehead> 980 981 <segmentedlist> 982 <segtitle>&dependencies;</segtitle> 983 984 <seglistitem> 985 <seg>Bash, Binutils, Coreutils, Diffutils, EGLIBC, Gawk, GCC, Grep, 986 GMP, Make, MPC, MPFR, Sed and Texinfo</seg> 987 </seglistitem> 988 </segmentedlist> 989 990 <segmentedlist> 991 <segtitle>&testsuites;</segtitle> 992 993 <seglistitem> 994 <seg>None</seg> 995 </seglistitem> 996 </segmentedlist> 997 998 <segmentedlist> 999 <segtitle>&before;</segtitle> 1000 1001 <seglistitem> 1002 <seg>GCC</seg> 1003 </seglistitem> 1004 </segmentedlist> 1005 867 1006 <!-- Begin Kbd dependency info --> 868 1007 <bridgehead renderas="sect2" id="kbd-dep">Kbd</bridgehead> … … 872 1011 873 1012 <seglistitem> 874 <seg>Bash, Binutils, Coreutils, EGLIBC, Gawk, GCC, Gzip, Make and Sed</seg> 875 </seglistitem> 876 </segmentedlist> 877 878 <segmentedlist> 879 <segtitle>&testsuites;</segtitle> 880 881 <seglistitem> 882 <seg>No testsuite available</seg> 883 </seglistitem> 884 </segmentedlist> 885 886 <segmentedlist> 887 <segtitle>&before;</segtitle> 888 889 <seglistitem> 890 <seg>None</seg> 1013 <seg>Bash, Binutils, Coreutils, EGLIBC, Gawk, GCC, Gzip, Make, and 1014 Check</seg> 1015 </seglistitem> 1016 </segmentedlist> 1017 1018 <segmentedlist> 1019 <segtitle>&testsuites;</segtitle> 1020 1021 <seglistitem> 1022 <seg>No testsuite available</seg> 1023 </seglistitem> 1024 </segmentedlist> 1025 1026 <segmentedlist> 1027 <segtitle>&before;</segtitle> 1028 1029 <seglistitem> 1030 <seg>None</seg> 1031 </seglistitem> 1032 </segmentedlist> 1033 1034 <!-- Begin KMOD dependency info --> 1035 <bridgehead renderas="sect2" id="kmod-dep">KMOD</bridgehead> 1036 1037 <segmentedlist> 1038 <segtitle>&dependencies;</segtitle> 1039 1040 <seglistitem> 1041 <seg>Bash, Binutils, Bison, Coreutils, EGLIBC, Flex, Gawk, GCC, 1042 Gettext, Gzip, Make, Pkg-config-lite, Sed, XZ-Utils, and Zlib. 1043 </seg> 1044 </seglistitem> 1045 </segmentedlist> 1046 1047 <segmentedlist> 1048 <segtitle>&testsuites;</segtitle> 1049 1050 <seglistitem> 1051 <seg>No testsuite available</seg> 1052 </seglistitem> 1053 </segmentedlist> 1054 1055 <segmentedlist> 1056 <segtitle>&before;</segtitle> 1057 1058 <seglistitem> 1059 <seg>Eudev</seg> 891 1060 </seglistitem> 892 1061 </segmentedlist> … … 955 1124 <seglistitem> 956 1125 <seg>Bash, Binutils, Coreutils, Diffutils, EGLIBC, Findutils, Gawk, 957 GCC, Grep, Libestr, Make, Pkg-config , Sed and Texinfo</seg>1126 GCC, Grep, Libestr, Make, Pkg-config-lite, Sed and Texinfo</seg> 958 1127 </seglistitem> 959 1128 </segmentedlist> … … 1066 1235 <seglistitem> 1067 1236 <seg>Bash, Binutils, Coreutils, Diffutils, EGLIBC, Findutils, GCC, Grep, 1068 Gzip, Make, Module-Init-Tools, Ncurses, Perl and Sed</seg>1237 Gzip, Make, KMOD, Ncurses, Perl and Sed</seg> 1069 1238 </seglistitem> 1070 1239 </segmentedlist> … … 1198 1367 1199 1368 <!-- Begin MPC dependency info --> 1200 <bridgehead renderas="sect2" id="mpc-dep">MP FR</bridgehead>1369 <bridgehead renderas="sect2" id="mpc-dep">MPC</bridgehead> 1201 1370 1202 1371 <segmentedlist> … … 1253 1422 </segmentedlist> 1254 1423 1255 <!-- Begin Module-Init-Toolsdependency info -->1256 <bridgehead renderas="sect2" id="module-init-tools-dep"> Module-Init-Tools</bridgehead>1424 <!-- Begin KMOD dependency info --> 1425 <bridgehead renderas="sect2" id="module-init-tools-dep">KMOD</bridgehead> 1257 1426 1258 1427 <segmentedlist> … … 1365 1534 </segmentedlist> 1366 1535 1367 <!-- Begin Pkg-config dependency info -->1368 <bridgehead renderas="sect2" id="pkg-config- dep">Pkg-config</bridgehead>1536 <!-- Begin Pkg-config-lite dependency info --> 1537 <bridgehead renderas="sect2" id="pkg-config-lite-dep">Pkg-config-lite</bridgehead> 1369 1538 1370 1539 <segmentedlist> … … 1699 1868 </segmentedlist> 1700 1869 1701 <!-- Begin Udev dependency info -->1702 <bridgehead renderas="sect2" id="udev-dep"> Udev</bridgehead>1870 <!-- Begin Eudev dependency info --> 1871 <bridgehead renderas="sect2" id="udev-dep">Eudev</bridgehead> 1703 1872 1704 1873 <segmentedlist> … … 1735 1904 <seglistitem> 1736 1905 <seg>Bash, Binutils, Coreutils, EGLIBC, GCC, Grep, 1737 Make, Ncurses, Pkg-config , Sed, Texinfo and Zlib</seg>1906 Make, Ncurses, Pkg-config-lite, Sed, Texinfo and Zlib</seg> 1738 1907 </seglistitem> 1739 1908 </segmentedlist> … … 1834 2003 1835 2004 <seglistitem> 1836 <seg> Binutils, File, Module-Init-Toolsand Util-linux</seg>2005 <seg>File, KMOD and Util-linux</seg> 1837 2006 </seglistitem> 1838 2007 </segmentedlist> -
BOOK/appendices/dependencies/x86.xml
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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" --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/64/util-linux.xml
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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 -
BOOK/boot/common/fstab.xml
rec008670 r229ed25 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
rec008670 r229ed25 192 192 193 193 <para os="e">The created groups are not part of any standard—they are 194 groups decided on in part by the requirements of the Udev configuration194 groups decided on in part by the requirements of the Eudev configuration 195 195 in the final system, and in part by common convention employed by a 196 196 number of existing Linux distributions. The Linux Standard Base (LSB, -
BOOK/boot/common/sysvinit.xml
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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 … … 34 34 35 35 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 36 href="../common/udev.xml" 36 href="../ppc/powerpc-utils.xml" 37 xpointer="xpointer(//*[@os='a'])"/> 38 39 <screen><userinput>${CC} ${BUILD64} -o nvsetenv nvsetenv.c nwnvsetenv.c</userinput></screen> 40 41 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 42 href="../ppc/powerpc-utils.xml" 37 43 xpointer="xpointer(//*[@os='c'])"/> 38 44 39 45 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 40 href="../ common/udev.xml"46 href="../ppc/powerpc-utils.xml" 41 47 xpointer="xpointer(//*[@os='d'])"/> 42 43 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"44 href="../common/udev.xml"45 xpointer="xpointer(//*[@os='g'])"/>46 47 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"48 href="../common/udev.xml"49 xpointer="xpointer(//*[@os='h'])"/>50 48 51 49 </sect2> … … 54 52 <title/> 55 53 56 <para>Details on this package are located in <xref 57 linkend="contents-udev" role="."/></para> 54 <para>Details on this package are located in <xref linkend="contents-powerpc-utils" role="."/></para> 58 55 59 56 </sect2> 57 60 58 </sect1> 61 -
BOOK/boot/ppc64-chapter.xml
rec008670 r229ed25 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/devices.xml"/> -
BOOK/boot/ppc64/e2fsprogs.xml
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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 U dev</title>24 23 <title>Installation of Util-linux 32 bit</title> 24 25 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 26 href="../common/u dev.xml"26 href="../common/util-linux.xml" 27 27 xpointer="xpointer(//*[@os='a'])"/> 28 28 … … 34 34 35 35 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 36 href="../common/udev.xml" 37 xpointer="xpointer(//*[@os='c'])"/> 38 39 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 40 href="../common/udev.xml" 36 href="../common/util-linux.xml" 41 37 xpointer="xpointer(//*[@os='d'])"/> 42 38 43 39 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 44 href="../common/udev.xml" 40 href="../common/util-linux.xml" 41 xpointer="xpointer(//*[@os='e'])"/> 42 43 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 44 href="../common/util-linux.xml" 45 45 xpointer="xpointer(//*[@os='g'])"/> 46 46 47 47 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 48 href="../common/u dev.xml"48 href="../common/util-linux.xml" 49 49 xpointer="xpointer(//*[@os='h'])"/> 50 50 … … 55 55 56 56 <para>Details on this package are located in <xref 57 linkend="contents-u dev" role="."/></para>57 linkend="contents-util-linux" role="."/></para> 58 58 59 59 </sect2> 60 60 61 </sect1> 61 62 63 -
BOOK/boot/ppc64/yaboot-build.xml
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 16 16 17 17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/console.xml"/> 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/ udev.xml"/>18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/> 19 19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/symlinks.xml"/> 20 20 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/profile.xml"/> -
BOOK/bootscripts/common/eudev.xml
rec008670 r229ed25 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
rec008670 r229ed25 74 74 to it being added to <filename>/etc/locale.conf</filename>:</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
rec008670 r229ed25 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
rec008670 r229ed25 16 16 17 17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/console.xml"/> 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/ udev.xml"/>18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/> 19 19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/symlinks.xml"/> 20 20 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/profile.xml"/> -
BOOK/bootscripts/mips64-64-chapter.xml
rec008670 r229ed25 16 16 17 17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/console.xml"/> 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/ udev.xml"/>18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/> 19 19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/symlinks.xml"/> 20 20 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/profile.xml"/> -
BOOK/bootscripts/mips64-chapter.xml
rec008670 r229ed25 16 16 17 17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/console.xml"/> 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/ udev.xml"/>18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/> 19 19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/symlinks.xml"/> 20 20 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/profile.xml"/> -
BOOK/bootscripts/ppc-chapter.xml
rec008670 r229ed25 16 16 17 17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/console.xml"/> 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/ udev.xml"/>18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/> 19 19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/symlinks.xml"/> 20 20 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/profile.xml"/> -
BOOK/bootscripts/ppc64-chapter.xml
rec008670 r229ed25 16 16 17 17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/console.xml"/> 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/ udev.xml"/>18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/> 19 19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/symlinks.xml"/> 20 20 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/profile.xml"/> -
BOOK/bootscripts/sparc-chapter.xml
rec008670 r229ed25 16 16 17 17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/console.xml"/> 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/ udev.xml"/>18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/> 19 19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/symlinks.xml"/> 20 20 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/profile.xml"/> -
BOOK/bootscripts/sparc64-64-chapter.xml
rec008670 r229ed25 16 16 17 17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/console.xml"/> 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/ udev.xml"/>18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/> 19 19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/symlinks.xml"/> 20 20 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/profile.xml"/> -
BOOK/bootscripts/sparc64-chapter.xml
rec008670 r229ed25 16 16 17 17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/console.xml"/> 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/ udev.xml"/>18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/> 19 19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/symlinks.xml"/> 20 20 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/profile.xml"/> -
BOOK/bootscripts/x86-chapter.xml
rec008670 r229ed25 16 16 17 17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/console.xml"/> 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/ udev.xml"/>18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/> 19 19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/symlinks.xml"/> 20 20 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/profile.xml"/> -
BOOK/bootscripts/x86_64-64-chapter.xml
rec008670 r229ed25 16 16 17 17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/console.xml"/> 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/ udev.xml"/>18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/> 19 19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/symlinks.xml"/> 20 20 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/profile.xml"/> -
BOOK/bootscripts/x86_64-chapter.xml
rec008670 r229ed25 16 16 17 17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/console.xml"/> 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/ udev.xml"/>18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/> 19 19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/symlinks.xml"/> 20 20 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/profile.xml"/> -
BOOK/chroot/64/createfiles.xml
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 6 6 ]> 7 7 8 <sect1 id="ch-cross-tools-cloog -ppl" role="wrap">9 <?dbhtml filename="cloog -ppl.html"?>8 <sect1 id="ch-cross-tools-cloog" role="wrap"> 9 <?dbhtml filename="cloog.html"?> 10 10 11 <title>CLooG- PPL-&cloog-ppl-version;</title>11 <title>CLooG-&cloog-version;</title> 12 12 13 <indexterm zone="ch-cross-tools-cloog -ppl">14 <primary sortas="a-CLooG -PPL">CLooG-PPL</primary>13 <indexterm zone="ch-cross-tools-cloog"> 14 <primary sortas="a-CLooG">CLooG</primary> 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/cloog -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 CLooG-PPL</title> 23 <title>Installation of CLooG</title> 24 25 <para os="a">Prepare CLooG for compilation:</para> 26 27 <screen os="b"><userinput>LDFLAGS="-Wl,-rpath,/cross-tools/lib" \ 28 ./configure --prefix=/cross-tools --disable-static \ 29 --with-gmp-prefix=/cross-tools --with-isl-prefix=/cross-tools</userinput></screen> 24 30 25 31 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 26 href="../../ temp-system/common/cloog-ppl.xml"32 href="../../final-system/common/cloog.xml" 27 33 xpointer="xpointer(//*[@os='s1'])"/> 28 34 29 35 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 30 href="../../ temp-system/common/cloog-ppl.xml"36 href="../../final-system/common/cloog.xml" 31 37 xpointer="xpointer(//*[@os='s2'])"/> 32 33 <para os="a">Prepare CLooG-PPL for compilation:</para>34 35 <screen os="b"><userinput>LDFLAGS="-Wl,-rpath,/cross-tools/lib" \36 ./configure --prefix=/cross-tools --enable-shared --with-bits=gmp \37 --with-gmp=/cross-tools --with-ppl=/cross-tools</userinput></screen>38 38 39 39 <para os="c">Compile the package:</para> … … 51 51 52 52 <para>Details on this package are located in <xref 53 linkend="contents-cloog -ppl" role="."/></para>53 linkend="contents-cloog" role="."/></para> 54 54 55 55 </sect2> -
BOOK/cross-tools/common/eglibc.xml
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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/isl.xml
rec008670 r229ed25 6 6 ]> 7 7 8 <sect1 id="ch-cross-tools- ppl" role="wrap">9 <?dbhtml filename=" ppl.html"?>8 <sect1 id="ch-cross-tools-isl" role="wrap"> 9 <?dbhtml filename="isl.html"?> 10 10 11 <title> PPL-&ppl-version;</title>11 <title>ISL-&isl-version;</title> 12 12 13 <indexterm zone="ch-cross-tools- ppl">14 <primary sortas="a- PPL">PPL</primary>13 <indexterm zone="ch-cross-tools-isl"> 14 <primary sortas="a-ISL">ISL</primary> 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/isl.xml" 20 20 xpointer="xpointer(//*[@role='package'])"/> 21 21 22 22 <sect2 role="installation"> 23 <title>Installation of PPL</title>23 <title>Installation of ISL</title> 24 24 25 <para os="a">Prepare PPL for compilation:</para>25 <para os="a">Prepare ISL 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</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-isl" role="."/></para> 49 46 50 47 </sect2> -
BOOK/cross-tools/common/mpc.xml
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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
rec008670 r229ed25 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