Changeset 673b0d8 for chapter05/binutils-pass1.xml
- Timestamp:
- 05/03/2004 10:59:46 AM (20 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.0, 6.1, 6.1.1, 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, v5_1, v5_1_1, 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:
- 0c43171, 2ec64b3, a4a675f
- Parents:
- 287ea55
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/binutils-pass1.xml
r287ea55 r673b0d8 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 ]> 1 6 <sect1 id="ch-tools-binutils-pass1"> 2 <title> InstallingBinutils-&binutils-version; - Pass 1</title>3 <?dbhtml filename="binutils-pass1.html" dir="chapter05"?>7 <title>Binutils-&binutils-version; - Pass 1</title> 8 <?dbhtml filename="binutils-pass1.html"?> 4 9 5 <screen>&buildtime; &binutils-time-tools-pass1; 6 &diskspace; &binutils-compsize-tools-pass1;</screen> 10 <indexterm zone="ch-tools-binutils-pass1"> 11 <primary sortas="a-Binutils">Binutils</primary> 12 <secondary>tools, pass 1</secondary></indexterm> 7 13 8 &aa-binutils-down; 9 &aa-binutils-dep; 14 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/binutils.xml" xpointer="xpointer(/sect1/para[1])"/> 10 15 11 <sect2><title> </title><para> </para></sect2> 16 <screen>&buildtime; 1.0 SBU 17 &diskspace; 194 MB</screen> 18 19 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/binutils.xml" xpointer="xpointer(/sect1/para[2])"/> 20 12 21 13 22 <sect2> … … 22 31 <emphasis>-mcpu</emphasis> options). Therefore, if you have defined any 23 32 environment variables that override default optimizations, such as CFLAGS and 24 CXXFLAGS, we recommend un setting them when building Binutils.</para>33 CXXFLAGS, we recommend un-setting them when building Binutils.</para> 25 34 26 35 <para>The Binutils documentation recommends building Binutils outside of the … … 32 41 <note><para>If you want the SBU values listed in the rest of the book to be of 33 42 any use, you will have to measure the time it takes to build this package -- 34 from the configuration up to and including the first install. To achieve this43 from the configuration up to and including the first install. To achieve this 35 44 easily, you could wrap the four commands in a <command>time</command> command 36 45 like this: <userinput>time { ./configure ... && ... && ... … … 39 48 <para>Now prepare Binutils for compilation:</para> 40 49 41 <screen><userinput>../ &binutils-dir;/configure --prefix=/tools --disable-nls</userinput></screen>50 <screen><userinput>../binutils-&binutils-version;/configure --prefix=/tools --disable-nls</userinput></screen> 42 51 43 52 <para>The meaning of the configure options:</para> … … 80 89 second.</para> 81 90 82 <para> Andinstall the package:</para>91 <para>Now install the package:</para> 83 92 84 93 <screen><userinput>make install</userinput></screen> 85 94 86 <para>Now prepare the linker for the "Adjusting"phase later on:</para>95 <para>Now prepare the linker for the <quote>Adjusting</quote> phase later on:</para> 87 96 88 97 <screen><userinput>make -C ld clean … … 93 102 <itemizedlist> 94 103 <listitem><para><userinput>-C ld clean</userinput>: This tells the make program 95 to remove all the compiled files in the <filename 96 class="directory">ld</filename> subdirectory.</para></listitem> 104 to remove all the compiled files in the <filename class="directory">ld</filename> subdirectory.</para></listitem> 97 105 98 106 <listitem><para><userinput>-C ld LDFLAGS="-all-static" … … 105 113 </itemizedlist> 106 114 107 <!-- HACK - Force some whitespace to appease tidy -->108 <literallayout></literallayout>109 115 110 116 <warning><para><emphasis>Do not yet remove</emphasis> the Binutils build and … … 112 118 further on in this chapter.</para></warning> 113 119 114 <!-- HACK - Force some whitespace to appease tidy -->115 <literallayout></literallayout>116 120 117 121 </sect2> 118 122 119 <sect2><title> </title><para> </para>123 <sect2><title> </title><para> </para> 120 124 <para>The details on this package are found in <xref linkend="contents-binutils"/>.</para> 121 <para> </para></sect2>125 <para> </para></sect2> 122 126 123 127 </sect1> 124
Note:
See TracChangeset
for help on using the changeset viewer.