Ticket #2259: chapter5-updates.patch
File chapter5-updates.patch, 5.3 KB (added by , 16 years ago) |
---|
-
chapter05/stripping.xml
18 18 <screen><userinput>strip --strip-debug /tools/lib/* 19 19 strip --strip-unneeded /tools/{,s}bin/*</userinput></screen> 20 20 21 <para>The last of the above commands will skip some twenty files, 22 reporting that it does not recognize their file format. Most of these 23 are scripts instead of binaries.</para> 21 <para>These commands will skip a number of files, reporting that it does not 22 recognize their file format. Most of these are scripts instead of binaries.</para> 24 23 25 24 <para>Take care <emphasis>not</emphasis> to use 26 25 <parameter>--strip-unneeded</parameter> on the libraries. The static -
chapter05/ncurses.xml
77 77 78 78 <screen><userinput remap="make">make</userinput></screen> 79 79 80 <para>This package does not come with a test suite.</para> 80 <para>This package has a test suite, but it can only be run after the 81 package has been installed. The tests reside in the 82 <filename class="directory">test/</filename> directory. See the 83 <filename>README</filename> file in that directory for further details. 84 </para> 81 85 82 86 <para>Install the package:</para> 83 87 -
chapter05/gcc-pass2.xml
216 216 217 217 <screen><userinput remap="make">make</userinput></screen> 218 218 219 <para>There is no need to use the <parameter>bootstrap</parameter> target220 now because the compiler being used to compile this GCC was built from221 the exact same version of the GCC sources used earlier.</para>222 223 219 <para>Compilation is now complete. As previously mentioned, running the test 224 220 suites for the temporary tools compiled in this chapter is not mandatory. 225 221 To run the GCC test suite anyway, use the following command:</para> -
chapter05/toolchaintechnotes.xml
145 145 through the end of this chapter will use the new dynamic linker in 146 146 <filename class="directory">/tools/lib</filename>.</para> 147 147 148 <para> The need to use the new dynamic linker is also the reason why149 t he Specs patch is applied for the second pass of GCC. Failure to do148 <para>For the second pass of GCC, its sources also need to be modified 149 to tell GCC to use the new dynamic linker. Failure to do 150 150 so will result in the GCC programs themselves having the name of the 151 151 dynamic linker from the host system's <filename 152 152 class="directory">/lib</filename> directory embedded into them, which -
chapter05/coreutils.xml
84 84 <screen><userinput remap="install">make install</userinput></screen> 85 85 86 86 <para>The above command refuses to install <filename>su</filename> 87 because it cannot install it setuid root as a non-privileged user. By88 manually installing it with a different name, we can use it for running89 tests in the final system as a non-privileged user and we keep a possibly90 useful <command>su</command> from our host first place in our PATH. Install91 it with:</para>87 because the program cannot be installed setuid root as a non-privileged 88 user. By manually installing it with a different name, we can use it for 89 running tests in the final system as a non-privileged user and we keep a 90 possibly useful <command>su</command> from our host first place in our PATH. 91 Install it with:</para> 92 92 93 93 <screen><userinput remap="install">cp -v src/su /tools/bin/su-tools</userinput></screen> 94 94 -
chapter05/util-linux-ng.xml
60 60 <term><parameter>BLKID_LIBS="-lblkid -luuid"</parameter></term> 61 61 <listitem> 62 62 <para>When building only a subset of the package, the 63 <filename class="libraryfile">libuuid. so</filename> library is not63 <filename class="libraryfile">libuuid.a</filename> library is not 64 64 pulled into the build as it is supposed to. This command overrides 65 65 the default from the <filename>Makefile</filename>.</para> 66 66 </listitem> -
chapter05/dejagnu.xml
49 49 50 50 <screen><userinput remap="install">make install</userinput></screen> 51 51 52 <para>To test the results, issue:</para> 52 <para>This package does come with a test suite, however, it cannot be 53 run at this time because we do not have a C++ compiler yet.</para> 53 54 54 <screen><userinput remap="test">make check</userinput></screen>55 56 55 </sect2> 57 56 58 57