binutils-pass2.xml 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
  3. <!ENTITY % general-entities SYSTEM "../general.ent">
  4. %general-entities;
  5. ]>
  6. <sect1 id="ch-tools-binutils-pass2" role="wrap">
  7. <title>Binutils-&binutils-version; - Pass 2</title>
  8. <?dbhtml filename="binutils-pass2.html"?>
  9. <sect2 role="package"><title/>
  10. <segmentedlist>
  11. <segtitle>&buildtime;</segtitle>
  12. <segtitle>&diskspace;</segtitle>
  13. <seglistitem><seg>1.5 SBU</seg><seg>108 MB</seg></seglistitem>
  14. </segmentedlist>
  15. </sect2>
  16. <sect2 role="installation">
  17. <title>Re-installation of Binutils</title>
  18. <para>Create a separate build directory again:</para>
  19. <screen><userinput>mkdir ../binutils-build
  20. cd ../binutils-build</userinput></screen>
  21. <para>Now prepare Binutils for compilation:</para>
  22. <screen><userinput>../binutils-&binutils-version;/configure --prefix=/tools \
  23. --enable-shared --with-lib-path=/tools/lib</userinput></screen>
  24. <para>Compile the package:</para>
  25. <screen><userinput>make</userinput></screen>
  26. <para>Test the results:</para>
  27. <!-- NEW -->
  28. <screen><userinput>make -k check</userinput></screen>
  29. <para>Except for a few known failures, the binutils tests should all pass. The
  30. exceptions to this rule are as follows:</para>
  31. <screen><computeroutput>* 5 FAIL (unexpected failure) for visibility
  32. * 1 FAIL for selective4
  33. * 1 FAIL for selective5</computeroutput></screen>
  34. <!-- END NEW-->
  35. <para>And install the package:</para>
  36. <screen><userinput>make install</userinput></screen>
  37. <para>Now prepare the linker for the <quote>Re-adjusting</quote> phase in the next
  38. chapter:</para>
  39. <screen><userinput>make -C ld clean
  40. make -C ld LIB_PATH=/usr/lib:/lib</userinput></screen>
  41. <warning><para><emphasis>Do not yet remove</emphasis> the Binutils source and
  42. build directories. You will need these directories again in the next chapter
  43. in the state they are in now.</para></warning>
  44. </sect2>
  45. </sect1>