Changeset ea7ec72
- Timestamp:
- 06/11/2020 06:27:01 PM (3 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, arm, bdubbs/gcc13, ml-11.0, multilib, s6-init, trunk, xry111/arm64, xry111/clfs-ng, xry111/git-transition, xry111/glibc-2.34, xry111/glibc-2.37, xry111/kcfg-revise, xry111/lfs-next, xry111/pip3, xry111/queue-11.3, xry111/rust-wip-20221008, xry111/tester-nohack, xry111/usr-move
- Children:
- 6a156bab
- Parents:
- 3b1b9de
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
appendices/dependencies.xml
r3b1b9de rea7ec72 829 829 </segmentedlist> 830 830 831 <!-- Begin G ccdependency info -->832 <bridgehead renderas="sect2" id="gcc-dep">G cc</bridgehead>831 <!-- Begin GCC dependency info --> 832 <bridgehead renderas="sect2" id="gcc-dep">GCC</bridgehead> 833 833 834 834 <segmentedlist> … … 1949 1949 1950 1950 <seglistitem> 1951 <seg>Binutils, Coreutils, G cc, and Python</seg>1951 <seg>Binutils, Coreutils, GCC, and Python</seg> 1952 1952 </seglistitem> 1953 1953 </segmentedlist> … … 1984 1984 1985 1985 <seglistitem> 1986 <seg>Binutils, Coreutils, G cc, Make, and Perl</seg>1986 <seg>Binutils, Coreutils, GCC, Make, and Perl</seg> 1987 1987 </seglistitem> 1988 1988 </segmentedlist> -
chapter07/libstdc++-pass2.xml
r3b1b9de rea7ec72 29 29 was available to compile it. We could not use the compiler built in that 30 30 section because it is a native compiler and should not be used outside of 31 chroot and risk polluting the libraries with some host components.</para>31 chroot and risks polluting the libraries with some host components.</para> 32 32 33 33 <segmentedlist> -
chapter07/stripping.xml
r3b1b9de rea7ec72 20 20 The following steps are performed from outside the chroot 21 21 environment. That means, you have to leave the chroot environment 22 first before continuing. The reason for that is to 22 first before continuing. The reason for that is to: 23 23 <itemizedlist> 24 24 <listitem> 25 25 <para> 26 make sure that objects are not in use while they gets27 26 make sure that objects are not in use while they are 27 manipulated. 28 28 </para> 29 29 </listitem> … … 45 45 </para> 46 46 47 <screen role="nodump"><userinput>exit48 umount $LFS/dev{/pts,}49 umount $LFS/{sys,proc,run}</userinput></screen>50 51 47 <note> 52 48 <para>All of the following instructions are executed by … … 64 60 </note> 65 61 62 <screen role="nodump"><userinput>exit 63 umount $LFS/dev{/pts,} 64 umount $LFS/{sys,proc,run}</userinput></screen> 65 66 66 <sect2> 67 67 <title>Stripping</title> 68 68 69 <para>If the LFS partition is rather small, it is beneficialto70 learnthat unnecessary items can be removed. The executables and71 libraries built so far contain a bout 94MB of unneeded debugging69 <para>If the LFS partition is rather small, it is good to 70 know that unnecessary items can be removed. The executables and 71 libraries built so far contain a little over 90 MB of unneeded debugging 72 72 symbols.</para> 73 73 … … 88 88 built all over again.</para> 89 89 90 <para>To save more space ( about 37MB), remove the documentation:</para>90 <para>To save more space (slightly more than 35 MB), remove the documentation:</para> 91 91 92 92 <screen role="nodump"><userinput>rm -rf $LFS/usr/share/{info,man,doc}</userinput></screen> … … 100 100 101 101 <para>At this point, you should have at least 5 GB of free space on the 102 chroot partition that can be used to build and install Glibc and G ccin102 chroot partition that can be used to build and install Glibc and GCC in 103 103 the next phase. If you can build and install Glibc, you can build and install 104 104 the rest too. You can check the free disk space with the command 105 <command>df -h $LFS /</command>.</para>105 <command>df -h $LFS</command>.</para> 106 106 107 107 </sect2> … … 130 130 Create the backup archive by running the following command: 131 131 </para> 132 <screen role="nodump"><userinput>cd $LFS && 133 tar -cJpf $HOME/temp-tools.tar.xz . 132 133 <screen role="nodump" revision="sysv"><userinput>cd $LFS && 134 tar -cJpf $HOME/lfs-temp-tools-&version;.tar.xz . 134 135 </userinput></screen> 136 137 <screen role="nodump" revision="systemd"><userinput>cd $LFS && 138 tar -cJpf $HOME/lfs-temp-tools-&versiond;.tar.xz . 139 </userinput></screen> 140 135 141 <para> 136 142 Replace <envar>$HOME</envar> by a directory of your choice if you 137 do not want to have the backup stored in <systemitem class="username">root</systemitem>'s138 home directory.143 do not want to have the backup stored in <systemitem 144 class="username">root</systemitem>'s home directory. 139 145 </para> 140 146 … … 144 150 Since the sources are located under 145 151 <filename class="directory">$LFS</filename>, they are included in the 146 backup archive as well, so you need not to download themagain. After152 backup archive as well, so they do not need to be downloaded again. After 147 153 checking that <filename class="directory">$LFS</filename> is set properly, 148 154 restore the backup by executing the following commands: 149 155 </para> 150 156 151 <screen role="nodump" ><userinput>cd $LFS &&157 <screen role="nodump" revision="sysv"><userinput>cd $LFS && 152 158 rm -rf ./* && 153 tar -xpf $HOME/temp-tools.tar.xz 159 tar -xpf $HOME/lfs-temp-tools-&version;.tar.xz 160 </userinput></screen> 161 162 <screen role="nodump" revision="systemd"><userinput>cd $LFS && 163 rm -rf ./* && 164 tar -xpf $HOME/lfs-temp-tools-&versiond;.tar.xz 154 165 </userinput></screen> 155 166 -
chapter07/util-linux.xml
r3b1b9de rea7ec72 70 70 <para>This sets the location of the file recording information about 71 71 the hardware clock in accordance to the FHS. This is not stricly 72 needed for his temporary tool, but it prevents creating a file72 needed for this temporary tool, but it prevents creating a file 73 73 at another location, which would not be overwritten or removed 74 74 when building the final util-linux package.</para> -
general.ent
r3b1b9de rea7ec72 1 <!ENTITY version "2020061 0-cross2">1 <!ENTITY version "20200611-cross2"> 2 2 <!ENTITY short-version "svn"> <!-- Used below in &blfs-book; 3 3 Change to x.y for release but not -rc releases --> 4 4 <!ENTITY generic-version "cross-chap5"> <!-- Use "development" or "x.y[-pre{x}]" --> 5 5 6 <!ENTITY versiond "2020061 0-cross2-systemd">6 <!ENTITY versiond "20200611-cross2-systemd"> 7 7 <!ENTITY short-versiond "systemd"> 8 <!ENTITY generic-versiond "2020061 0-cross2-systemd">8 <!ENTITY generic-versiond "20200611-cross2-systemd"> 9 9 10 <!ENTITY releasedate "June 1 0th, 2020">10 <!ENTITY releasedate "June 11th, 2020"> 11 11 12 12 <!ENTITY copyrightdate "1999-2020"><!-- jhalfs needs a literal dash, not – --> -
prologue/organization.xml
r3b1b9de rea7ec72 33 33 34 34 <para>Part III provides instructions for building the tools 35 needed for constructi onthe final LFS system.</para>35 needed for constructing the final LFS system.</para> 36 36 </sect2> 37 37 -
prologue/why.xml
r3b1b9de rea7ec72 195 195 196 196 <listitem> 197 <para>G cc</para>197 <para>GCC</para> 198 198 199 199 <para>This package is the Gnu Compiler Collection. It contains the … … 227 227 228 228 <para>This package contains math libraries that provide useful functions 229 for arbitrary precision arithmetic. It is required to build G cc.</para>229 for arbitrary precision arithmetic. It is required to build GCC.</para> 230 230 </listitem> 231 231 … … 417 417 418 418 <para>This package contains functions for the arithmetic of complex 419 numbers. It is required by G cc.</para>419 numbers. It is required by GCC.</para> 420 420 </listitem> 421 421 … … 424 424 425 425 <para>This package contains functions for multiple precision 426 arithmetic. It is required by G cc.</para>426 arithmetic. It is required by GCC.</para> 427 427 </listitem> 428 428
Note:
See TracChangeset
for help on using the changeset viewer.