- Timestamp:
- 09/18/2007 09:11:00 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, 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/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- e1ad8a8
- Parents:
- a7a0238
- Location:
- chapter05
- Files:
-
- 29 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/bash.xml
ra7a0238 r0445a3d 47 47 Bash-&bash-version;:</para> 48 48 49 <screen><userinput >patch -Np1 -i ../&bash-fixes-patch;</userinput></screen>49 <screen><userinput remap="pre">patch -Np1 -i ../&bash-fixes-patch;</userinput></screen> 50 50 51 51 <para>Prepare Bash for compilation:</para> 52 52 53 <screen><userinput >./configure --prefix=/tools --without-bash-malloc</userinput></screen>53 <screen><userinput remap="configure">./configure --prefix=/tools --without-bash-malloc</userinput></screen> 54 54 55 55 <variablelist> … … 71 71 <para>Compile the package:</para> 72 72 73 <screen><userinput >make</userinput></screen>73 <screen><userinput remap="make">make</userinput></screen> 74 74 75 <para>To test the results, issue: 76 <userinput>make tests</userinput>.</para> 75 <para>To test the results, issue:</para> 76 77 <screen><userinput remap="test">make tests</userinput></screen> 77 78 78 79 <para>Install the package:</para> 79 80 80 <screen><userinput >make install</userinput></screen>81 <screen><userinput remap="install">make install</userinput></screen> 81 82 82 83 <para>Make a link for the programs that use <command>sh</command> for 83 84 a shell:</para> 84 85 85 <screen><userinput >ln -vs bash /tools/bin/sh</userinput></screen>86 <screen><userinput remap="install">ln -vs bash /tools/bin/sh</userinput></screen> 86 87 87 88 </sect2> -
chapter05/binutils-pass1.xml
ra7a0238 r0445a3d 52 52 source directory in a dedicated build directory:</para> 53 53 54 <screen><userinput >mkdir -v ../binutils-build54 <screen><userinput remap="pre">mkdir -v ../binutils-build 55 55 cd ../binutils-build</userinput></screen> 56 56 … … 66 66 <para>Now prepare Binutils for compilation:</para> 67 67 68 <screen><userinput >CC="gcc -B/usr/bin/" ../binutils-&binutils-version;/configure \68 <screen><userinput remap="configure">CC="gcc -B/usr/bin/" ../binutils-&binutils-version;/configure \ 69 69 --prefix=/tools --disable-nls --disable-werror</userinput></screen> 70 70 … … 112 112 <para>Continue with compiling the package:</para> 113 113 114 <screen><userinput >make</userinput></screen>114 <screen><userinput remap="make">make</userinput></screen> 115 115 116 116 <para>Compilation is now complete. Ordinarily we would now run the … … 122 122 <para>Install the package:</para> 123 123 124 <screen><userinput >make install</userinput></screen>124 <screen><userinput remap="install">make install</userinput></screen> 125 125 126 126 <para>Next, prepare the linker for the <quote>Adjusting</quote> phase 127 127 later on:</para> 128 128 129 <screen><userinput >make -C ld clean129 <screen><userinput remap="adjust">make -C ld clean 130 130 make -C ld LIB_PATH=/tools/lib 131 131 cp -v ld/ld-new /tools/bin</userinput></screen> -
chapter05/binutils-pass2.xml
ra7a0238 r0445a3d 46 46 <para>Create a separate build directory again:</para> 47 47 48 <screen><userinput >mkdir -v ../binutils-build48 <screen><userinput remap="pre">mkdir -v ../binutils-build 49 49 cd ../binutils-build</userinput></screen> 50 50 51 51 <para>Prepare Binutils for compilation:</para> 52 52 53 <screen><userinput >../binutils-&binutils-version;/configure --prefix=/tools \53 <screen><userinput remap="configure">../binutils-&binutils-version;/configure --prefix=/tools \ 54 54 --disable-nls --with-lib-path=/tools/lib</userinput></screen> 55 55 … … 72 72 <para>Compile the package:</para> 73 73 74 <screen><userinput >make</userinput></screen>74 <screen><userinput remap="make">make</userinput></screen> 75 75 76 76 <para>Compilation is now complete. As discussed earlier, running the … … 79 79 command:</para> 80 80 81 <screen><userinput >make check</userinput></screen>81 <screen><userinput remap="test">make check</userinput></screen> 82 82 83 83 <para>Install the package:</para> 84 84 85 <screen><userinput >make install</userinput></screen>85 <screen><userinput remap="install">make install</userinput></screen> 86 86 87 87 <para>Now prepare the linker for the <quote>Re-adjusting</quote> phase in 88 88 the next chapter:</para> 89 89 90 <screen><userinput >make -C ld clean90 <screen><userinput remap="adjust">make -C ld clean 91 91 make -C ld LIB_PATH=/usr/lib:/lib 92 92 cp -v ld/ld-new /tools/bin</userinput></screen> 93 94 93 95 94 </sect2> -
chapter05/bison.xml
ra7a0238 r0445a3d 46 46 <para>Prepare Bison for compilation:</para> 47 47 48 <screen><userinput >./configure --prefix=/tools</userinput></screen>48 <screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen> 49 49 50 50 <para>Compile the package:</para> 51 51 52 <screen><userinput >make</userinput></screen>52 <screen><userinput remap="make">make</userinput></screen> 53 53 54 <para>To test the results, issue: 55 <userinput>make check</userinput>.</para> 54 <para>To test the results, issue:</para> 55 56 <screen><userinput remap="test">make check</userinput></screen> 56 57 57 58 <para>Install the package:</para> 58 59 59 <screen><userinput >make install</userinput></screen>60 <screen><userinput remap="install">make install</userinput></screen> 60 61 61 62 </sect2> -
chapter05/bzip2.xml
ra7a0238 r0445a3d 47 47 script. Compile and test it with:</para> 48 48 49 <screen><userinput >make</userinput></screen>49 <screen><userinput remap="make">make</userinput></screen> 50 50 51 51 <para>Install the package:</para> 52 52 53 <screen><userinput >make PREFIX=/tools install</userinput></screen>53 <screen><userinput remap="install">make PREFIX=/tools install</userinput></screen> 54 54 55 55 </sect2> -
chapter05/coreutils.xml
ra7a0238 r0445a3d 48 48 Glibc provides, so we'll rename the function:</para> 49 49 50 <screen><userinput >for file in src/{copy,touch}.c lib/utimens.{c,h} ; do \50 <screen><userinput remap="pre">for file in src/{copy,touch}.c lib/utimens.{c,h} ; do \ 51 51 cp -v $file{,.orig} 52 52 sed 's/futimens/gl_&/' $file.orig > $file … … 55 55 <para>Prepare Coreutils for compilation:</para> 56 56 57 <screen><userinput >./configure --prefix=/tools</userinput></screen>57 <screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen> 58 58 59 59 <para>Compile the package:</para> 60 60 61 <screen><userinput >make</userinput></screen>61 <screen><userinput remap="make">make</userinput></screen> 62 62 63 <para>To test the results, issue: 64 <userinput>make RUN_EXPENSIVE_TESTS=yes check</userinput>. The 65 <parameter>RUN_EXPENSIVE_TESTS=yes</parameter> parameter tells the 63 <para>To test the results, issue:</para> 64 65 <screen><userinput remap="test">make RUN_EXPENSIVE_TESTS=yes check</userinput></screen> 66 67 <para>The <parameter>RUN_EXPENSIVE_TESTS=yes</parameter> parameter tells the 66 68 test suite to run several additional tests that are considered 67 69 relatively expensive (in terms of CPU power and memory usage) on some … … 70 72 <para>Install the package:</para> 71 73 72 <screen><userinput >make install</userinput></screen>74 <screen><userinput remap="install">make install</userinput></screen> 73 75 74 76 <para>The above command refuses to install <filename>su</filename> … … 79 81 it with:</para> 80 82 81 <screen><userinput >cp -v src/su /tools/bin/su-tools</userinput></screen>83 <screen><userinput remap="install">cp -v src/su /tools/bin/su-tools</userinput></screen> 82 84 83 85 </sect2> -
chapter05/dejagnu.xml
ra7a0238 r0445a3d 44 44 <para>Prepare DejaGNU for compilation:</para> 45 45 46 <screen><userinput >./configure --prefix=/tools</userinput></screen>46 <screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen> 47 47 48 48 <para>Build and install the package:</para> 49 49 50 <screen><userinput >make install</userinput></screen>50 <screen><userinput remap="install">make install</userinput></screen> 51 51 52 <para>To test the results, issue: 53 <userinput>make check</userinput>.</para> 52 <para>To test the results, issue:</para> 53 54 <screen><userinput remap="test">make check</userinput></screen> 54 55 55 56 </sect2> -
chapter05/diffutils.xml
ra7a0238 r0445a3d 46 46 <para>Prepare Diffutils for compilation:</para> 47 47 48 <screen><userinput >./configure --prefix=/tools</userinput></screen>48 <screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen> 49 49 50 50 <para>Compile the package:</para> 51 51 52 <screen><userinput >make</userinput></screen>52 <screen><userinput remap="make">make</userinput></screen> 53 53 54 54 <para>This package does not come with a test suite.</para> … … 56 56 <para>Install the package:</para> 57 57 58 <screen><userinput >make install</userinput></screen>58 <screen><userinput remap="install">make install</userinput></screen> 59 59 60 60 </sect2> -
chapter05/expect.xml
ra7a0238 r0445a3d 45 45 suite run:</para> 46 46 47 <screen><userinput >patch -Np1 -i ../&expect-spawn-patch;</userinput></screen>47 <screen><userinput remap="pre">patch -Np1 -i ../&expect-spawn-patch;</userinput></screen> 48 48 49 49 <para>Next, force Expect's configure script to use <filename>/bin/stty</filename> … … 52 52 toolchain:</para> 53 53 54 <screen><userinput >cp configure{,.bak}54 <screen><userinput remap="pre">cp configure{,.bak} 55 55 sed 's:/usr/local/bin:/bin:' configure.bak > configure</userinput></screen> 56 56 57 57 <para>Now prepare Expect for compilation:</para> 58 58 59 <screen><userinput >./configure --prefix=/tools --with-tcl=/tools/lib \59 <screen><userinput remap="configure">./configure --prefix=/tools --with-tcl=/tools/lib \ 60 60 --with-tclinclude=/tools/include --with-x=no</userinput></screen> 61 61 … … 96 96 <para>Build the package:</para> 97 97 98 <screen><userinput >make</userinput></screen>98 <screen><userinput remap="make">make</userinput></screen> 99 99 100 <para>To test the results, issue: <userinput>make test</userinput>. 101 Note that the Expect test suite is known to experience failures under 100 <para>To test the results, issue:</para> 101 102 <screen><userinput remap="test">make test</userinput></screen> 103 104 <para>Note that the Expect test suite is known to experience failures under 102 105 certain host conditions that are not within our control. Therefore, 103 106 test suite failures here are not surprising and are not considered … … 106 109 <para>Install the package:</para> 107 110 108 <screen><userinput >make SCRIPTS="" install</userinput></screen>111 <screen><userinput remap="install">make SCRIPTS="" install</userinput></screen> 109 112 110 113 <variablelist> -
chapter05/findutils.xml
ra7a0238 r0445a3d 46 46 <para>Prepare Findutils for compilation:</para> 47 47 48 <screen><userinput >./configure --prefix=/tools</userinput></screen>48 <screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen> 49 49 50 50 <para>Compile the package:</para> 51 51 52 <screen><userinput >make</userinput></screen>52 <screen><userinput remap="make">make</userinput></screen> 53 53 54 <para>To test the results, issue: 55 <userinput>make check</userinput>.</para> 54 <para>To test the results, issue:</para> 55 56 <screen><userinput remap="test">make check</userinput></screen> 56 57 57 58 <para>Install the package:</para> 58 59 59 <screen><userinput >make install</userinput></screen>60 <screen><userinput remap="install">make install</userinput></screen> 60 61 61 62 </sect2> -
chapter05/flex.xml
ra7a0238 r0445a3d 47 47 following patch:</para> 48 48 49 <screen><userinput >patch -Np1 -i ../&flex-fixes-patch;</userinput></screen>49 <screen><userinput remap="pre">patch -Np1 -i ../&flex-fixes-patch;</userinput></screen> 50 50 51 51 <para>The GNU autotools will detect that the Flex source code has been … … 54 54 fine, so make sure it does not get regenerated:</para> 55 55 56 <screen><userinput >touch doc/flex.1</userinput></screen>56 <screen><userinput remap="pre">touch doc/flex.1</userinput></screen> 57 57 58 58 <para>Now prepare Flex for compilation:</para> 59 59 60 <screen><userinput >./configure --prefix=/tools</userinput></screen>60 <screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen> 61 61 62 62 <para>Compile the package:</para> 63 63 64 <screen><userinput >make</userinput></screen>64 <screen><userinput remap="make">make</userinput></screen> 65 65 66 <para>To test the results, issue: 67 <userinput>make check</userinput>.</para> 66 <para>To test the results, issue:</para> 67 68 <screen><userinput remap="test">make check</userinput></screen> 68 69 69 70 <para>Install the package:</para> 70 71 71 <screen><userinput >make install</userinput></screen>72 <screen><userinput remap="install">make install</userinput></screen> 72 73 73 74 </sect2> -
chapter05/gawk.xml
ra7a0238 r0445a3d 46 46 <para>Prepare Gawk for compilation:</para> 47 47 48 <screen><userinput >./configure --prefix=/tools</userinput></screen>48 <screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen> 49 49 50 50 <para>Due to a bug in the <command>configure</command> script, Gawk fails … … 53 53 missing macro definitions to <filename>config.h</filename>:</para> 54 54 55 <screen><userinput >cat >> config.h << "EOF"55 <screen><userinput remap="configure">cat >> config.h << "EOF" 56 56 <literal>#define HAVE_LANGINFO_CODESET 1 57 57 #define HAVE_LC_MESSAGES 1</literal> … … 60 60 <para>Compile the package:</para> 61 61 62 <screen><userinput >make</userinput></screen>62 <screen><userinput remap="make">make</userinput></screen> 63 63 64 <para>To test the results, issue: 65 <userinput>make check</userinput>.</para> 64 <para>To test the results, issue:</para> 65 66 <screen><userinput remap="test">make check</userinput></screen> 66 67 67 68 <para>Install the package:</para> 68 69 69 <screen><userinput >make install</userinput></screen>70 <screen><userinput remap="install">make install</userinput></screen> 70 71 71 72 </sect2> -
chapter05/gcc-pass1.xml
ra7a0238 r0445a3d 47 47 source directory in a dedicated build directory:</para> 48 48 49 <screen><userinput >mkdir -v ../gcc-build49 <screen><userinput remap="pre">mkdir -v ../gcc-build 50 50 cd ../gcc-build</userinput></screen> 51 51 52 52 <para>Prepare GCC for compilation:</para> 53 53 54 <screen><userinput >CC="gcc -B/usr/bin/" ../gcc-&gcc-version;/configure --prefix=/tools \54 <screen><userinput remap="configure">CC="gcc -B/usr/bin/" ../gcc-&gcc-version;/configure --prefix=/tools \ 55 55 --with-local-prefix=/tools --disable-nls --enable-shared \ 56 56 --enable-languages=c</userinput></screen> … … 110 110 package. Continue with compiling by running:</para> 111 111 112 <screen><userinput >make</userinput></screen>112 <screen><userinput remap="make">make</userinput></screen> 113 113 114 114 <para>Compilation is now complete. At this point, the test suite would … … 120 120 <para>Install the package:</para> 121 121 122 <screen><userinput >make install</userinput></screen>122 <screen><userinput remap="install">make install</userinput></screen> 123 123 124 124 <para>As a finishing touch, create a symlink. Many programs and scripts … … 129 129 which C compiler to install:</para> 130 130 131 <screen><userinput >ln -vs gcc /tools/bin/cc</userinput></screen>131 <screen><userinput remap="install">ln -vs gcc /tools/bin/cc</userinput></screen> 132 132 133 133 </sect2> -
chapter05/gcc-pass2.xml
ra7a0238 r0445a3d 54 54 performing a quick test:</para> 55 55 56 <screen><userinput >expect -c "spawn ls"</userinput></screen>56 <screen><userinput remap="test">expect -c "spawn ls"</userinput></screen> 57 57 58 58 <para>The response might be:</para> … … 78 78 be suppressed by issuing the following commands:</para> 79 79 80 <screen><userinput >cp -v gcc/Makefile.in{,.orig}80 <screen><userinput remap="pre">cp -v gcc/Makefile.in{,.orig} 81 81 sed 's@\./fixinc\.sh@-c true@' gcc/Makefile.in.orig > gcc/Makefile.in</userinput></screen> 82 82 … … 87 87 builds:</para> 88 88 89 <screen><userinput >cp -v gcc/Makefile.in{,.tmp}89 <screen><userinput remap="pre">cp -v gcc/Makefile.in{,.tmp} 90 90 sed 's/^XCFLAGS =$/& -fomit-frame-pointer/' gcc/Makefile.in.tmp \ 91 91 > gcc/Makefile.in</userinput></screen> … … 100 100 against the new Glibc. Issue:</para> 101 101 102 <screen><userinput >for file in $(find gcc/config -name linux64.h -o -name linux.h)102 <screen><userinput remap="pre">for file in $(find gcc/config -name linux64.h -o -name linux.h) 103 103 do 104 104 cp -uv $file{,.orig} … … 127 127 <para>Create a separate build directory again:</para> 128 128 129 <screen><userinput >mkdir -v ../gcc-build129 <screen><userinput remap="pre">mkdir -v ../gcc-build 130 130 cd ../gcc-build</userinput></screen> 131 131 … … 135 135 <para>Now prepare GCC for compilation:</para> 136 136 137 <screen><userinput >../gcc-&gcc-version;/configure --prefix=/tools \137 <screen><userinput remap="configure">../gcc-&gcc-version;/configure --prefix=/tools \ 138 138 --with-local-prefix=/tools --enable-clocale=gnu \ 139 139 --enable-shared --enable-threads=posix \ … … 207 207 <para>Compile the package:</para> 208 208 209 <screen><userinput >make</userinput></screen>209 <screen><userinput remap="make">make</userinput></screen> 210 210 211 211 <para>There is no need to use the <parameter>bootstrap</parameter> target … … 217 217 To run the GCC test suite anyway, use the following command:</para> 218 218 219 <screen><userinput >make -k check</userinput></screen>219 <screen><userinput remap="test">make -k check</userinput></screen> 220 220 221 221 <para>The <parameter>-k</parameter> flag is used to make the test suite run … … 229 229 <para>Install the package:</para> 230 230 231 <screen><userinput >make install</userinput></screen>231 <screen><userinput remap="install">make install</userinput></screen> 232 232 233 233 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
chapter05/gettext.xml
ra7a0238 r0445a3d 49 49 <para>Prepare Gettext for compilation:</para> 50 50 51 <screen><userinput >cd gettext-tools51 <screen><userinput remap="configure">cd gettext-tools 52 52 ./configure --prefix=/tools --disable-shared</userinput></screen> 53 53 … … 67 67 <para>Compile the package:</para> 68 68 69 <screen><userinput >make -C gnulib-lib69 <screen><userinput remap="make">make -C gnulib-lib 70 70 make -C src msgfmt</userinput></screen> 71 71 … … 77 77 <para>Install the <command>msgfmt</command> binary:</para> 78 78 79 <screen><userinput >cp -v src/msgfmt /tools/bin</userinput></screen>79 <screen><userinput remap="install">cp -v src/msgfmt /tools/bin</userinput></screen> 80 80 81 81 </sect2> -
chapter05/glibc.xml
ra7a0238 r0445a3d 47 47 directory in a dedicated build directory:</para> 48 48 49 <screen><userinput >mkdir -v ../glibc-build49 <screen><userinput remap="pre">mkdir -v ../glibc-build 50 50 cd ../glibc-build</userinput></screen> 51 51 … … 58 58 making use of the special file <filename>configparms</filename>:</para> 59 59 60 <screen><userinput >echo "CFLAGS += -march=i486" > configparms</userinput></screen>60 <screen><userinput remap="configure">echo "CFLAGS += -march=i486" > configparms</userinput></screen> 61 61 62 62 <para>Next, prepare Glibc for compilation:</para> 63 63 64 <screen><userinput >../glibc-&glibc-version;/configure --prefix=/tools \64 <screen><userinput remap="configure">../glibc-&glibc-version;/configure --prefix=/tools \ 65 65 --disable-profile --enable-add-ons \ 66 66 --enable-kernel=2.6.0 --with-binutils=/tools/bin \ … … 154 154 <para>Compile the package:</para> 155 155 156 <screen><userinput >make</userinput></screen>156 <screen><userinput remap="make">make</userinput></screen> 157 157 158 158 <para>Compilation is now complete. As mentioned earlier, running the … … 161 161 command will do so:</para> 162 162 163 <screen><userinput >make check</userinput></screen>163 <screen><userinput remap="test">make check</userinput></screen> 164 164 165 165 <para>For a discussion of test failures that are of particular … … 185 185 Prevent this warning with:</para> 186 186 187 <screen><userinput >mkdir -v /tools/etc187 <screen><userinput remap="install">mkdir -v /tools/etc 188 188 touch /tools/etc/ld.so.conf</userinput></screen> 189 189 190 190 <para>Install the package:</para> 191 191 192 <screen><userinput >make install</userinput></screen>192 <screen><userinput remap="install">make install</userinput></screen> 193 193 194 194 <para>Different countries and cultures have varying conventions for -
chapter05/grep.xml
ra7a0238 r0445a3d 46 46 <para>Prepare Grep for compilation:</para> 47 47 48 <screen><userinput >./configure --prefix=/tools \48 <screen><userinput remap="configure">./configure --prefix=/tools \ 49 49 --disable-perl-regexp</userinput></screen> 50 50 … … 66 66 <para>Compile the package:</para> 67 67 68 <screen><userinput >make</userinput></screen>68 <screen><userinput remap="make">make</userinput></screen> 69 69 70 <para>To test the results, issue: 71 <userinput>make check</userinput>.</para> 70 <para>To test the results, issue:</para> 71 72 <screen><userinput remap="test">make check</userinput></screen> 72 73 73 74 <para>Install the package:</para> 74 75 75 <screen><userinput >make install</userinput></screen>76 <screen><userinput remap="install">make install</userinput></screen> 76 77 77 78 </sect2> -
chapter05/gzip.xml
ra7a0238 r0445a3d 48 48 Glibc provides, so we'll rename the function:</para> 49 49 50 <screen><userinput >for file in gzip.c lib/utimens.{c,h} ; do \50 <screen><userinput remap="pre">for file in gzip.c lib/utimens.{c,h} ; do \ 51 51 cp -v $file{,.orig} 52 52 sed 's/futimens/gl_&/' $file.orig > $file … … 55 55 <para>Prepare Gzip for compilation:</para> 56 56 57 <screen><userinput >./configure --prefix=/tools</userinput></screen>57 <screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen> 58 58 59 59 <para>Compile the package:</para> 60 60 61 <screen><userinput >make</userinput></screen>61 <screen><userinput remap="make">make</userinput></screen> 62 62 63 <para>To test the results, issue: 64 <userinput>make check</userinput>.</para> 63 <para>To test the results, issue:</para> 64 65 <screen><userinput remap="test">make check</userinput></screen> 65 66 66 67 <para>Install the package:</para> 67 68 68 <screen><userinput >make install</userinput></screen>69 <screen><userinput remap="install">make install</userinput></screen> 69 70 70 71 </sect2> -
chapter05/linux-headers.xml
ra7a0238 r0445a3d 51 51 <para>Install the header files:</para> 52 52 53 <screen><userinput >make mrproper53 <screen><userinput remap="install">make mrproper 54 54 make headers_check 55 55 make INSTALL_HDR_PATH=dest headers_install -
chapter05/m4.xml
ra7a0238 r0445a3d 46 46 <para>Prepare M4 for compilation:</para> 47 47 48 <screen><userinput >./configure --prefix=/tools</userinput></screen>48 <screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen> 49 49 50 50 <para>Compile the package:</para> 51 51 52 <screen><userinput >make</userinput></screen>52 <screen><userinput remap="make">make</userinput></screen> 53 53 54 <para>To test the results, issue: 55 <userinput>make check</userinput>.</para> 54 <para>To test the results, issue:</para> 55 56 <screen><userinput remap="test">make check</userinput></screen> 56 57 57 58 <para>Install the package:</para> 58 59 59 <screen><userinput >make install</userinput></screen>60 <screen><userinput remap="install">make install</userinput></screen> 60 61 61 62 </sect2> -
chapter05/make.xml
ra7a0238 r0445a3d 45 45 <para>Prepare Make for compilation:</para> 46 46 47 <screen><userinput >./configure --prefix=/tools</userinput></screen>47 <screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen> 48 48 49 49 <para>Compile the package:</para> 50 50 51 <screen><userinput >make</userinput></screen>51 <screen><userinput remap="make">make</userinput></screen> 52 52 53 <para>To test the results, issue: 54 <userinput>make check</userinput>.</para> 53 <para>To test the results, issue:</para> 54 55 <screen><userinput remap="test">make check</userinput></screen> 55 56 56 57 <para>Install the package:</para> 57 58 58 <screen><userinput >make install</userinput></screen>59 <screen><userinput remap="install">make install</userinput></screen> 59 60 60 61 </sect2> -
chapter05/ncurses.xml
ra7a0238 r0445a3d 46 46 <para>Prepare Ncurses for compilation:</para> 47 47 48 <screen><userinput >./configure --prefix=/tools --with-shared \48 <screen><userinput remap="configure">./configure --prefix=/tools --with-shared \ 49 49 --without-debug --without-ada --enable-overwrite</userinput></screen> 50 50 … … 76 76 <para>Compile the package:</para> 77 77 78 <screen><userinput >make</userinput></screen>78 <screen><userinput remap="make">make</userinput></screen> 79 79 80 80 <para>This package does not come with a test suite.</para> … … 82 82 <para>Install the package:</para> 83 83 84 <screen><userinput >make install</userinput></screen>84 <screen><userinput remap="install">make install</userinput></screen> 85 85 86 86 </sect2> -
chapter05/patch.xml
ra7a0238 r0445a3d 46 46 <para>Prepare Patch for compilation:</para> 47 47 48 <screen><userinput >./configure --prefix=/tools</userinput></screen>48 <screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen> 49 49 50 50 <para>Compile the package:</para> 51 51 52 <screen><userinput >make</userinput></screen>52 <screen><userinput remap="make">make</userinput></screen> 53 53 54 54 <para>This package does not come with a test suite.</para> … … 56 56 <para>Install the package:</para> 57 57 58 <screen><userinput >make install</userinput></screen>58 <screen><userinput remap="install">make install</userinput></screen> 59 59 60 60 </sect2> -
chapter05/perl.xml
ra7a0238 r0445a3d 47 47 the following patch:</para> 48 48 49 <screen><userinput >patch -Np1 -i ../&perl-libc-patch;</userinput></screen>49 <screen><userinput remap="pre">patch -Np1 -i ../&perl-libc-patch;</userinput></screen> 50 50 51 51 <para>Fix an incompatibility with gcc-&gcc-version;:</para> 52 52 53 <screen><userinput >mv -v makedepend.SH{,.orig}53 <screen><userinput remap="pre">mv -v makedepend.SH{,.orig} 54 54 sed 's/command /command[ -]/' makedepend.SH.orig > makedepend.SH</userinput></screen> 55 55 … … 58 58 letters):</para> 59 59 60 <screen><userinput >./configure.gnu --prefix=/tools -Dstatic_ext='Data/Dumper Fcntl IO POSIX'</userinput></screen>60 <screen><userinput remap="configure">./configure.gnu --prefix=/tools -Dstatic_ext='Data/Dumper Fcntl IO POSIX'</userinput></screen> 61 61 62 62 <variablelist> … … 68 68 <para>This tells Perl to build the minimum set of static extensions 69 69 needed for installing and testing the Coreutils and Glibc packages in the 70 70 next chapter.</para> 71 71 </listitem> 72 72 </varlistentry> … … 77 77 built:</para> 78 78 79 <screen><userinput >make perl utilities</userinput></screen>79 <screen><userinput remap="make">make perl utilities</userinput></screen> 80 80 81 81 <para>Although Perl comes with a test suite, it is not recommended to … … 87 87 <para>Install these tools and their libraries:</para> 88 88 89 <screen><userinput >cp -v perl pod/pod2man /tools/bin89 <screen><userinput remap="install">cp -v perl pod/pod2man /tools/bin 90 90 mkdir -pv /tools/lib/perl5/&perl-version; 91 91 cp -Rv lib/* /tools/lib/perl5/&perl-version;</userinput></screen> -
chapter05/sed.xml
ra7a0238 r0445a3d 46 46 <para>Prepare Sed for compilation:</para> 47 47 48 <screen><userinput >./configure --prefix=/tools</userinput></screen>48 <screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen> 49 49 50 50 <para>Compile the package:</para> 51 51 52 <screen><userinput >make</userinput></screen>52 <screen><userinput remap="make">make</userinput></screen> 53 53 54 <para>To test the results, issue: 55 <userinput>make check</userinput>.</para> 54 <para>To test the results, issue:</para> 55 56 <screen><userinput remap="test">make check</userinput></screen> 56 57 57 58 <para>Install the package:</para> 58 59 59 <screen><userinput >make install</userinput></screen>60 <screen><userinput remap="install">make install</userinput></screen> 60 61 61 62 </sect2> -
chapter05/tar.xml
ra7a0238 r0445a3d 46 46 <para>Prepare Tar for compilation:</para> 47 47 48 <screen><userinput >./configure --prefix=/tools</userinput></screen>48 <screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen> 49 49 50 50 <para>Compile the package:</para> 51 51 52 <screen><userinput >make</userinput></screen>52 <screen><userinput remap="make">make</userinput></screen> 53 53 54 <para>To test the results, issue: 55 <userinput>make check</userinput>.</para> 54 <para>To test the results, issue:</para> 55 56 <screen><userinput remap="test">make check</userinput></screen> 56 57 57 58 <para>Install the package:</para> 58 59 59 <screen><userinput >make install</userinput></screen>60 <screen><userinput remap="install">make install</userinput></screen> 60 61 61 62 </sect2> -
chapter05/tcl.xml
ra7a0238 r0445a3d 51 51 <para>Prepare Tcl for compilation:</para> 52 52 53 <screen><userinput >cd unix53 <screen><userinput remap="configure">cd unix 54 54 ./configure --prefix=/tools</userinput></screen> 55 55 56 56 <para>Build the package:</para> 57 57 58 <screen><userinput >make</userinput></screen>58 <screen><userinput remap="make">make</userinput></screen> 59 59 60 <para>To test the results, issue: <userinput>TZ=UTC make test</userinput>. 61 The Tcl test suite is known to experience failures under certain host 60 <para>To test the results, issue:</para> 61 62 <screen><userinput remap="test">TZ=UTC make test</userinput></screen> 63 64 <para>The Tcl test suite is known to experience failures under certain host 62 65 conditions that are not fully understood. Therefore, test suite failures 63 66 here are not surprising, and are not considered critical. The … … 70 73 <para>Install the package:</para> 71 74 72 <screen><userinput >make install</userinput></screen>75 <screen><userinput remap="install">make install</userinput></screen> 73 76 74 77 <para>Install Tcl's headers. The next package, Expect, requires them 75 78 to build.</para> 76 79 77 <screen><userinput >make install-private-headers</userinput></screen>80 <screen><userinput remap="install">make install-private-headers</userinput></screen> 78 81 79 82 <para>Now make a necessary symbolic link:</para> 80 83 81 <screen><userinput >ln -sv tclsh8.4 /tools/bin/tclsh</userinput></screen>84 <screen><userinput remap="install">ln -sv tclsh8.4 /tools/bin/tclsh</userinput></screen> 82 85 83 86 </sect2> -
chapter05/texinfo.xml
ra7a0238 r0445a3d 46 46 <para>Prepare Texinfo for compilation:</para> 47 47 48 <screen><userinput >./configure --prefix=/tools</userinput></screen>48 <screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen> 49 49 50 50 <para>Compile the package:</para> 51 51 52 <screen><userinput >make</userinput></screen>52 <screen><userinput remap="make">make</userinput></screen> 53 53 54 <para>To test the results, issue: 55 <userinput>make check</userinput>.</para> 54 <para>To test the results, issue:</para> 55 56 <screen><userinput remap="test">make check</userinput></screen> 56 57 57 58 <para>Install the package:</para> 58 59 59 <screen><userinput >make install</userinput></screen>60 <screen><userinput remap="install">make install</userinput></screen> 60 61 61 62 </sect2> -
chapter05/util-linux.xml
ra7a0238 r0445a3d 48 48 This is fixed by altering the configure script:</para> 49 49 50 <screen><userinput >sed -i 's@/usr/include@/tools/include@g' configure</userinput></screen>50 <screen><userinput remap="pre">sed -i 's@/usr/include@/tools/include@g' configure</userinput></screen> 51 51 52 52 <para>Prepare Util-linux for compilation:</para> 53 53 54 <screen><userinput >./configure</userinput></screen>54 <screen><userinput remap="configure">./configure</userinput></screen> 55 55 56 56 <para>Compile some support routines:</para> 57 57 58 <screen><userinput >make -C lib</userinput></screen>58 <screen><userinput remap="make">make -C lib</userinput></screen> 59 59 60 60 <para>Only a few of the utilities contained in this package need to be 61 61 built:</para> 62 62 63 <screen><userinput >make -C mount mount umount63 <screen><userinput remap="make">make -C mount mount umount 64 64 make -C text-utils more</userinput></screen> 65 65 … … 68 68 <para>Copy these programs to the temporary tools directory:</para> 69 69 70 <screen><userinput >cp -v mount/{,u}mount text-utils/more /tools/bin</userinput></screen>70 <screen><userinput remap="install">cp -v mount/{,u}mount text-utils/more /tools/bin</userinput></screen> 71 71 72 72 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.