binutils-pass2.xml 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/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. <screen><userinput>make -k check</userinput></screen>
  28. <para>Except for a few known failures, the binutils tests should all pass. The
  29. exceptions to this rule are as follows:</para>
  30. <screen><computeroutput>* 5 FAIL (unexpected failure) for visibility
  31. * 1 FAIL for selective4
  32. * 1 FAIL for selective5</computeroutput></screen>
  33. <para>And install the package:</para>
  34. <screen><userinput>make install</userinput></screen>
  35. <para>Now prepare the linker for the <quote>Re-adjusting</quote> phase in the next
  36. chapter:</para>
  37. <screen><userinput>make -C ld clean
  38. make -C ld LIB_PATH=/usr/lib:/lib</userinput></screen>
  39. <warning><para><emphasis>Do not yet remove</emphasis> the Binutils source and
  40. build directories. You will need these directories again in the next chapter
  41. in the state they are in now.</para></warning>
  42. </sect2>
  43. </sect1>