Changes in / [8b539af:32f686f]
- Files:
-
- 9 added
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter03/packages.xml
r8b539af r32f686f 122 122 123 123 <varlistentry> 124 <term>Cmake (&cmake-version;) - <token>&cmake-size;</token>:</term> 125 <listitem> 126 <para>Home page: <ulink url="&cmake-home;"/></para> 127 <para>Download: <ulink url="&cmake-url;"/></para> 128 <para>MD5 sum: <literal>&cmake-md5;</literal></para> 129 </listitem> 130 </varlistentry> 131 132 <varlistentry> 124 133 <term>Coreutils (&coreutils-version;) - <token>&coreutils-size;</token>:</term> 125 134 <listitem> … … 470 479 471 480 <varlistentry> 481 <term>LLVM-cmake Modules (&llvm-cmake-version;) - <token>&llvm-cmake-size;</token>:</term> 482 <listitem> 483 <para>Home page: <ulink url="&llvm-cmake-home;"/></para> 484 <para>Download: <ulink url="&llvm-cmake-url;"/></para> 485 <para>MD5 sum: <literal>&llvm-cmake-md5;</literal></para> 486 </listitem> 487 </varlistentry> 488 489 <varlistentry> 490 <term>LLVM (&llvm-version;) - <token>&llvm-size;</token>:</term> 491 <listitem> 492 <para>Home page: <ulink url="&llvm-home;"/></para> 493 <para>Download: <ulink url="&llvm-url;"/></para> 494 <para>MD5 sum: <literal>&llvm-md5;</literal></para> 495 </listitem> 496 </varlistentry> 497 498 <varlistentry> 472 499 <term>M4 (&m4-version;) - <token>&m4-size;</token>:</term> 473 500 <listitem> … … 636 663 <para>Download: <ulink url="&readline-url;"/></para> 637 664 <para>MD5 sum: <literal>&readline-md5;</literal></para> 665 </listitem> 666 </varlistentry> 667 668 <varlistentry> 669 <term>Rustc (&rustc-version;) - <token>&rustc-size;</token>:</term> 670 <listitem> 671 <para>Home page: <ulink url="&rustc-home;"/></para> 672 <para>Download: <ulink url="&rustc-url;"/></para> 673 <para>MD5 sum: <literal>&rustc-md5;</literal></para> 674 </listitem> 675 </varlistentry> 676 677 <varlistentry> 678 <term>Rust-Bindgen (&rust-bindgen-version;) - <token>&rust-bindgen-size;</token>:</term> 679 <listitem> 680 <para>Home page: <ulink url="&rust-bindgen-home;"/></para> 681 <para>Download: <ulink url="&rust-bindgen-url;"/></para> 682 <para>MD5 sum: <literal>&rust-bindgen-md5;</literal></para> 638 683 </listitem> 639 684 </varlistentry> -
chapter04/addinguser.xml
r8b539af r32f686f 81 81 <systemitem class="username">lfs</systemitem> the owner:</para> 82 82 83 <screen><userinput>chown -v lfs $LFS/{usr{,/*},lib,var,etc, bin,sbin,tools}83 <screen><userinput>chown -v lfs $LFS/{usr{,/*},lib,var,etc,opt,bin,sbin,tools} 84 84 case $(uname -m) in 85 85 x86_64) chown -v lfs $LFS/lib64 ;; -
chapter04/creatingminlayout.xml
r8b539af r32f686f 22 22 <systemitem class="username">root</systemitem>:</para> 23 23 24 <screen><userinput>mkdir -pv $LFS/{etc, var} $LFS/usr/{bin,lib,sbin}24 <screen><userinput>mkdir -pv $LFS/{etc,opt,var} $LFS/usr/{bin,lib,sbin} 25 25 26 26 for i in bin lib sbin; do -
chapter05/chapter05.xml
r8b539af r32f686f 18 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="glibc.xml"/> 19 19 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libstdc++.xml"/> 20 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="cmake.xml"/> 21 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="llvm-pass1.xml"/> 20 22 21 23 </chapter> -
chapter06/chapter06.xml
r8b539af r32f686f 31 31 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="binutils-pass2.xml"/> 32 32 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gcc-pass2.xml"/> 33 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="llvm-pass2.xml"/> 34 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="openssl.xml"/> 35 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="rustc.xml"/> 33 36 34 37 </chapter> -
chapter06/gcc-pass2.xml
r8b539af r32f686f 156 156 <screen><userinput remap="install">make DESTDIR=$LFS install</userinput></screen> 157 157 158 <para> 159 Remove the libtool archive files because they are harmful for 160 cross compilation: 161 </para> 162 163 <screen><userinput remap="install">rm -v $LFS/usr/lib/*.la</userinput></screen> 164 165 <para> 166 Adjust GCC pass 1 so it will be able to use 167 <filename class="libraryfile">libgcc</filename> and C++ headers from 168 GCC pass 2. It's necessary for cross compiling LLVM: 169 </para> 170 171 <screen><userinput remap="install">mv -v $LFS/tools/lib/gcc/$LFS_TGT/&gcc-version;/libgcc.a{,.old} 172 ln -sv $LFS/usr/lib/libgcc_s.so.1 \ 173 $LFS/tools/lib/gcc/$LFS_TGT/&gcc-version;/libgcc.a 174 mv -v $LFS/tools/$LFS_TGT/include/c++{,.old} 175 ln -sv $LFS/usr/include/c++ \ 176 $LFS/tools/$LFS_TGT/include/c++</userinput></screen> 177 158 178 <para>As a finishing touch, create a utility symlink. Many programs and scripts 159 179 run <command>cc</command> instead of <command>gcc</command>, which is -
chapter07/changingowner.xml
r8b539af r32f686f 34 34 command:</para> 35 35 36 <screen><userinput>chown -R root:root $LFS/{usr,lib,var,etc, bin,sbin,tools}36 <screen><userinput>chown -R root:root $LFS/{usr,lib,var,etc,opt,bin,sbin,tools} 37 37 case $(uname -m) in 38 38 x86_64) chown -R root:root $LFS/lib64 ;; -
chapter07/chroot.xml
r8b539af r32f686f 19 19 tools:</para> 20 20 21 <screen role="nodump"><userinput>chroot "$LFS" /usr/bin/env -i \22 HOME=/root \23 TERM="$TERM" \24 PS1='(lfs chroot) \u:\w\$ ' \25 PATH=/usr/bin:/usr/sbin 21 <screen role="nodump"><userinput>chroot "$LFS" /usr/bin/env -i \ 22 HOME=/root \ 23 TERM="$TERM" \ 24 PS1='(lfs chroot) \u:\w\$ ' \ 25 PATH=/usr/bin:/usr/sbin:/opt/rustc/bin \ 26 26 /bin/bash --login</userinput></screen> 27 27 -
chapter07/creatingdirs.xml
r8b539af r32f686f 20 20 required in the previous chapters by issuing the following command:</para> 21 21 22 <screen><userinput>mkdir -pv /{boot,home,mnt, opt,srv}</userinput></screen>22 <screen><userinput>mkdir -pv /{boot,home,mnt,srv}</userinput></screen> 23 23 24 24 <para>Create the required set of subdirectories below the root-level by -
chapter08/chapter08.xml
r8b539af r32f686f 60 60 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="automake.xml"/> 61 61 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="openssl.xml"/> 62 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="cmake.xml"/> 63 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ninja.xml"/> 64 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libffi.xml"/> 65 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="llvm.xml"/> 66 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="rustc.xml"/> 67 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="rust-bindgen.xml"/> 62 68 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="kmod.xml"/> 63 69 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libelf.xml"/> 64 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libffi.xml"/>65 70 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="python.xml"/> 66 71 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="wheel.xml"/> 67 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ninja.xml"/>68 72 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="meson.xml"/> 69 73 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="coreutils.xml"/> -
chapter08/glibc.xml
r8b539af r32f686f 470 470 EOF</userinput></screen> 471 471 472 <para> If desired, the dynamic loader can also search a directory and472 <para>The dynamic loader can also search a directory and 473 473 include the contents of files found there. Generally the files in 474 474 this include directory are one line specifying the desired library path. 475 To add this capability run the following commands:</para>476 477 <screen role="nodump"><userinput>cat >> /etc/ld.so.conf << "EOF"475 Add this capability:</para> 476 477 <screen><userinput>cat >> /etc/ld.so.conf << "EOF" 478 478 <literal># Add an include directory 479 479 include /etc/ld.so.conf.d/*.conf … … 481 481 EOF 482 482 mkdir -pv /etc/ld.so.conf.d</userinput></screen> 483 484 <para>Tell the dynamic loader how to find the libraries for Rustc:</para> 485 486 <screen><userinput>echo /opt/rustc/lib > /etc/ld.so.conf.d/rust.conf 487 ldconfig</userinput></screen> 483 488 484 489 </sect3> -
packages.ent
r8b539af r32f686f 104 104 <!ENTITY check-fin-du "12 MB"> 105 105 <!ENTITY check-fin-sbu "0.1 SBU (about 3.6 SBU with tests)"> 106 107 <!ENTITY cmake-majmin "3.24"> 108 <!ENTITY cmake-version "&cmake-majmin;.2"> 109 <!ENTITY cmake-size "10,156 KB"> 110 <!ENTITY cmake-url "https://cmake.org/files/v&cmake-majmin;/cmake-&cmake-version;.tar.gz"> 111 <!ENTITY cmake-md5 "84d08f30b110401d8178f0708c19f1fe"> 112 <!ENTITY cmake-home "https://cmake.org/"> 113 <!ENTITY cmake-tmp-sbu "3.0 SBU"> 114 <!ENTITY cmake-tmp-du "443 MB"> 115 <!ENTITY cmake-final-sbu "3.0 SBU"> 116 <!ENTITY cmake-final-du "443 MB"> 106 117 107 118 <!ENTITY coreutils-version "9.1"> … … 444 455 <!ENTITY linux-headers-fin-sbu "0.1 SBU">--> 445 456 457 <!ENTITY llvm-version "15.0.1"> 458 <!ENTITY llvm-size "52,272 KB"> 459 <!ENTITY llvm-url "https://github.com/llvm/llvm-project/releases/download/llvmorg-&llvm-version;/llvm-&llvm-version;.src.tar.xz"> 460 <!ENTITY llvm-md5 "f517bb2708fe68907bd48642c4fac5fe"> 461 <!ENTITY llvm-home "https://llvm.org/"> 462 <!ENTITY llvm-tmpp1-sbu "20 SBU"> 463 <!ENTITY llvm-tmpp1-du "3,800 MB"> 464 <!ENTITY llvm-tmpp2-sbu "20 SBU"> 465 <!ENTITY llvm-tmpp2-du "3,800 MB"> 466 <!ENTITY llvm-final-sbu "20 SBU"> 467 <!ENTITY llvm-final-du "3,800 MB"> 468 446 469 <!ENTITY m4-version "1.4.19"> 447 470 <!ENTITY m4-size "1,617 KB"> … … 535 558 <!ENTITY openssl-md5 "163bb3e58c143793d1dc6a6ec7d185d5"> 536 559 <!ENTITY openssl-home "https://www.openssl.org/"> 560 <!ENTITY openssl-tmp-du "476 MB"> 561 <!ENTITY openssl-tmp-sbu "5.0 SBU"> 537 562 <!ENTITY openssl-fin-du "476 MB"> 538 563 <!ENTITY openssl-fin-sbu "5.0 SBU"> … … 611 636 <!ENTITY readline-fin-du "15 MB"> 612 637 <!ENTITY readline-fin-sbu "0.1 SBU"> 638 639 <!ENTITY rustc-version "1.64.0"> 640 <!ENTITY rustc-size "134,612 KB"> 641 <!ENTITY rustc-url "https://static.rust-lang.org/dist/rustc-&rustc-version;-src.tar.xz"> 642 <!ENTITY rustc-md5 "e77ac3a786d013604061b17f99dd9b27"> 643 <!ENTITY rustc-home "https://www.rust-lang.org/"> 644 <!ENTITY rustc-tmp-sbu "21 SBU"> 645 <!ENTITY rustc-tmp-du "10,000 MB"> 646 <!ENTITY rustc-final-sbu "21 SBU"> 647 <!ENTITY rustc-final-du "10,000 MB"> 648 649 <!ENTITY rust-bindgen-version "0.60.1-lfs-1"> 650 <!ENTITY rust-bindgen-size "7,524 KB"> 651 <!ENTITY rust-bindgen-url "https://linuxfromscratch.org/~xry111/rust-bindgen/rust-bindgen-&rust-bindgen-version;.tar.xz"> 652 <!ENTITY rust-bindgen-md5 "6ade6ad51b8a5463c29ada3ddc6f23f6"> 653 <!ENTITY rust-bindgen-home "https://rust-lang.github.io/rust-bindgen/"> 654 <!ENTITY rust-bindgen-fin-du "237 MB"> 655 <!ENTITY rust-bindgen-fin-sbu "1.9 SBU"> 613 656 614 657 <!ENTITY sed-version "4.8">
Note:
See TracChangeset
for help on using the changeset viewer.