Changeset f19e766
- Timestamp:
- 06/24/2007 01:03:35 PM (17 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, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 12.2, 12.2-rc1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/loongarch-12.2, xry111/mips64el, xry111/multilib, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 04d5efb
- Parents:
- ea14853
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/adjusting.xml
rea14853 rf19e766 20 20 original linker, then replace it with the adjusted linker. We'll also 21 21 create a link to its counterpart in <filename class="directory"> 22 /tools/$(gcc -dumpmachine)/bin</filename> </para>22 /tools/$(gcc -dumpmachine)/bin</filename>:</para> 23 23 24 24 <screen><userinput>mv -v /tools/bin/{ld,ld-old} … … 38 38 method when issuing the following command. Be sure to visually inspect the 39 39 specs file and verify that all occurrences of <quote>/lib/ld-linux.so.2</quote> 40 have been replaced with <quote>/tools/lib/ld-linux.so.2</quote> .</para>40 have been replaced with <quote>/tools/lib/ld-linux.so.2</quote>:</para> 41 41 42 42 <important> -
chapter05/expect.xml
rea14853 rf19e766 44 44 instead of a <filename>/usr/local/bin/stty</filename> it may find on the host system. 45 45 This will ensure that our testsuite tools remain sane for the final builds of our 46 toolchain .</para>46 toolchain:</para> 47 47 48 48 <screen><userinput>cp configure{,.bak} -
chapter05/gcc-pass1.xml
rea14853 rf19e766 132 132 systems where the GNU C compiler is not always installed. Running 133 133 <command>cc</command> leaves the system administrator free to decide 134 which C compiler to install .</para>134 which C compiler to install:</para> 135 135 136 136 <screen><userinput>ln -vs gcc /tools/bin/cc</userinput></screen> -
chapter05/gcc-pass2.xml
rea14853 rf19e766 79 79 Non-bootstrap builds omit this flag by default, so apply the following 80 80 <command>sed</command> to use it in order to ensure consistent compiler 81 builds .</para>81 builds:</para> 82 82 83 83 <screen><userinput>cp -v gcc/Makefile.in{,.tmp} && -
chapter06/bison.xml
rea14853 rf19e766 42 42 internationalization of error messages if a <command>bison</command> 43 43 program is not already in $PATH. The following addition will correct 44 this .</para>44 this:</para> 45 45 46 46 <screen><userinput>echo '#define YYENABLE_NLS 1' >> config.h</userinput></screen> -
chapter06/createfiles.xml
rea14853 rf19e766 38 38 order to satisfy these programs, create a number of symbolic links which will be 39 39 replaced by real files throughout the course of this chapter after the software 40 has been installed .</para>40 has been installed:</para> 41 41 42 42 <screen><userinput>ln -sv /tools/bin/{bash,cat,grep,pwd,stty} /bin … … 110 110 <filename>/etc/passwd</filename> and <filename>/etc/group</filename> 111 111 files have been created, user name and group name resolution will now 112 work .</para>112 work:</para> 113 113 114 114 <screen role="nodump"><userinput>exec /tools/bin/bash --login +h</userinput></screen> -
chapter06/gcc.xml
rea14853 rf19e766 47 47 Non-bootstrap builds omit this flag by default, so apply the following 48 48 <command>sed</command> to use it in order to ensure consistent compiler 49 builds .</para>49 builds:</para> 50 50 51 51 <screen><userinput>sed -i 's/^XCFLAGS =$/& -fomit-frame-pointer/' gcc/Makefile.in</userinput></screen> … … 63 63 This will cause the script to fall back to using less random names for 64 64 temporary files. We will be installing mktemp later, so the following sed 65 will simulate its presence .</para>65 will simulate its presence:</para> 66 66 67 67 <screen><userinput>sed -i 's/@have_mktemp_command@/yes/' gcc/gccbug.in</userinput></screen> -
chapter06/gzip.xml
rea14853 rf19e766 51 51 <screen><userinput>make install</userinput></screen> 52 52 53 <para>Move some programs that do not need to be on the root filesystem .</para>53 <para>Move some programs that do not need to be on the root filesystem:</para> 54 54 55 55 <screen><userinput>mv -v /bin/{gzexe,uncompress,zcmp,zdiff,zegrep} /usr/bin -
chapter06/man-db.xml
rea14853 rf19e766 118 118 and traditional locales. Because this script is intended for limited use 119 119 during the system build, for public data, we will not bother with error 120 checking, nor use a non-predictable temporary file name .</para>120 checking, nor use a non-predictable temporary file name:</para> 121 121 122 122 <screen><userinput>cat >> convert-mans << "EOF" -
chapter06/patch.xml
rea14853 rf19e766 37 37 <title>Installation of Patch</title> 38 38 39 <para>Prepare Patch for compilation .</para>39 <para>Prepare Patch for compilation:</para> 40 40 41 41 <screen><userinput>./configure --prefix=/usr</userinput></screen> -
chapter06/perl.xml
rea14853 rf19e766 38 38 <para>First create a basic <filename>/etc/hosts</filename> file which will be 39 39 referenced in one of Perl's configuration files as well as being used used by 40 the testsuite if you run that .</para>40 the testsuite if you run that:</para> 41 41 42 42 <screen><userinput>echo "127.0.0.1 localhost $(hostname)" > /etc/hosts</userinput></screen> -
chapter06/readjusting.xml
rea14853 rf19e766 26 26 and replace it with the adjusted linker we made in chapter 5. We'll also create 27 27 a link to its counterpart in <filename class="directory">/tools/$(gcc 28 -dumpmachine)/bin</filename> .</para>28 -dumpmachine)/bin</filename>:</para> 29 29 30 30 <screen><userinput>mv -v /tools/bin/{ld,ld-old} … … 36 36 dynamic linker, and so that GCC knows where to find the correct headers 37 37 and Glibc start files. A <command>sed</command> command accomplishes 38 this .</para>38 this:</para> 39 39 40 40 <important> -
chapter06/shadow.xml
rea14853 rf19e766 82 82 <para>Shadow supplies other manual pages in a UTF-8 encoding. Man-DB 83 83 can display these in the recommended encodings by using the 84 <command>convert-mans</command> script which we installed .</para>84 <command>convert-mans</command> script which we installed:</para> 85 85 86 86 <screen><userinput>for i in de es fi fr id it pt_BR; do … … 102 102 obsolete <filename class="directory">/var/spool/mail</filename> location 103 103 for user mailboxes that Shadow uses by default to the <filename 104 class="directory">/var/mail</filename> location used currently .</para>104 class="directory">/var/mail</filename> location used currently:</para> 105 105 106 106 <screen><userinput>sed -i -e 's@#MD5_CRYPT_ENAB.no@MD5_CRYPT_ENAB yes@' \ -
chapter07/console.xml
rea14853 rf19e766 154 154 framebuffer and can live without characters not belonging to his language, 155 155 it is still possible to use a language-specific 256-glyph font, as 156 illustrated below .</para>156 illustrated below:</para> 157 157 158 158 <screen role="nodump"><userinput>cat > /etc/sysconfig/console << "EOF"
Note:
See TracChangeset
for help on using the changeset viewer.