Ignore:
Timestamp:
05/03/2004 10:59:46 AM (20 years ago)
Author:
Matthew Burgess <matthew@…>
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
Message:
  • Merged newxml into HEAD

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3435 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

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]>
    16<sect1 id="ch-tools-binutils-pass1">
    2 <title>Installing Binutils-&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"?>
    49
    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>
    713
    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])"/>
    1015
    11 <sect2><title>&nbsp;</title><para>&nbsp;</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
    1221
    1322<sect2>
     
    2231<emphasis>-mcpu</emphasis> options). Therefore, if you have defined any
    2332environment variables that override default optimizations, such as CFLAGS and
    24 CXXFLAGS, we recommend unsetting them when building Binutils.</para>
     33CXXFLAGS, we recommend un-setting them when building Binutils.</para>
    2534
    2635<para>The Binutils documentation recommends building Binutils outside of the
     
    3241<note><para>If you want the SBU values listed in the rest of the book to be of
    3342any use, you will have to measure the time it takes to build this package --
    34 from the configuration upto and including the first install. To achieve this
     43from the configuration up to and including the first install. To achieve this
    3544easily, you could wrap the four commands in a <command>time</command> command
    3645like this: <userinput>time { ./configure ... &amp;&amp; ... &amp;&amp; ...
     
    3948<para>Now prepare Binutils for compilation:</para>
    4049
    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>
    4251
    4352<para>The meaning of the configure options:</para>
     
    8089second.</para>
    8190
    82 <para>And install the package:</para>
     91<para>Now install the package:</para>
    8392
    8493<screen><userinput>make install</userinput></screen>
    8594
    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>
    8796
    8897<screen><userinput>make -C ld clean
     
    93102<itemizedlist>
    94103<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>
     104to remove all the compiled files in the <filename class="directory">ld</filename> subdirectory.</para></listitem>
    97105
    98106<listitem><para><userinput>-C ld LDFLAGS="-all-static"
     
    105113</itemizedlist>
    106114
    107 <!-- HACK - Force some whitespace to appease tidy -->
    108 <literallayout></literallayout>
    109115
    110116<warning><para><emphasis>Do not yet remove</emphasis> the Binutils build and
     
    112118further on in this chapter.</para></warning>
    113119
    114 <!-- HACK - Force some whitespace to appease tidy -->
    115 <literallayout></literallayout>
    116120
    117121</sect2>
    118122
    119 <sect2><title>&nbsp;</title><para>&nbsp;</para>
     123<sect2><title> </title><para> </para>
    120124<para>The details on this package are found in <xref linkend="contents-binutils"/>.</para>
    121 <para>&nbsp;</para></sect2>
     125<para> </para></sect2>
    122126
    123127</sect1>
    124 
Note: See TracChangeset for help on using the changeset viewer.