Changeset 1bbb24b


Ignore:
Timestamp:
01/11/2003 04:18:59 PM (21 years ago)
Author:
Gerard Beekmans <gerard@…>
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, v4_1, v5_0, 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:
ce14c07
Parents:
e8fe4dc
Message:

rewrote bash install page

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

Files:
1 added
1 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • appendixa/binutils-desc.xml

    re8fe4dc r1bbb24b  
    1 <sect2><title>Contents of Binutils</title>
     1<sect2><title>Descriptions</title>
    22
    33<para>Last checked against version &binutils-contversion;.</para>
    44
    5 <sect3><title>Program Files</title>
    6 
    7 <para>addr2line, ar, as, gprof, ld, nm, objcopy, objdump,
    8 ranlib, readelf, size, strings and strip</para></sect3>
    9 
    10 <sect3><title>Descriptions</title>
     5<sect3><title>Program files descriptions</title>
    116
    127<sect4><title>addr2line</title>
     
    8075</sect3>
    8176
    82 <sect3><title>Library Files</title>
    83 <para>libbfd.[a,so] and libopcodes.[a,so]</para></sect3>
    84 
    85 <sect3><title>Descriptions</title>
     77<sect3><title>Library files descriptions</title>
    8678
    8779<sect4><title>libbfd</title>
  • appendixa/binutils.xml

    re8fe4dc r1bbb24b  
    44
    55&aa-binutils-down;
     6&aa-binutils-shortdesc;
    67&aa-binutils-desc;
    78&aa-binutils-dep;
  • chapter05/binutils-inst.xml

    re8fe4dc r1bbb24b  
    99warned.</para>
    1010
    11 <para>Install Binutils by running the following commands:</para>
     11<para>It is recommended by the Binutils installation documentation to build
     12Binutils outside of the source directory in a dedicated directory:</para>
    1213
     14<para><screen><userinput>mkdir ../binutils-build
     15cd ../binutils-build</userinput></screen></para>
    1316
    14 <para><screen><userinput>mkdir ../binutils-build &amp;&amp;
    15 cd ../binutils-build &amp;&amp;
    16 ../binutils-&binutils-version;/configure --prefix=$LFS/static --disable-nls &amp;&amp;
    17 make LDFLAGS="-all-static" &amp;&amp;
     17<para>Next, prepare Binutils to be compiled:</para>
     18
     19<para><screen><userinput>../binutils-&binutils-version;/configure --prefix=$LFS/static --disable-nls</userinput></screen></para>
     20
     21<para>The meaning of the (new) configure switches are:</para>
     22
     23<itemizedlist>
     24<listitem><para><userinput>--disable-nls:</userinput> This option disables
     25internationalization (also known as i18n). We don't need this for our
     26static programs and nls often causes problems when you're linking
     27statically.</para></listitem>
     28</itemizedlist>
     29
     30<para>We'll finish off by compiling and installing the package:</para>
     31
     32<para><screen><userinput>make LDFLAGS="-all-static" &amp;&amp;
    1833make install</userinput></screen></para>
     34
     35<para><emphasis>make LDFLAGS="-all-static"</emphasis> is how we tell
     36Binutils that all programs should be statically linked. Setting the
     37<emphasis>LDFLAGS</emphasis> variable is the common way of specifying we
     38want a static link to take place, however, its value and the way it is set
     39is not always the same. You'll see with the remaining packages that there
     40are different ways of setting up the <emphasis>LDFLAGS</emphasis>
     41variable.</para>
    1942
    2043</sect2>
  • chapter05/binutils.xml

    re8fe4dc r1bbb24b  
    66Estimated required disk space:  &binutils-compsize-static;</screen>
    77
     8&aa-binutils-shortdesc;
     9&aa-binutils-dep;
    810&c5-binutils-inst;
    9 &c5-binutils-exp;
    10 &aa-binutils-desc;
    11 &aa-binutils-dep;
    1211
    1312</sect1>
  • entities/binutils.ent

    re8fe4dc r1bbb24b  
    1010
    1111<!ENTITY aa-binutils SYSTEM "../appendixa/binutils.xml">
     12<!ENTITY aa-binutils-shortdesc SYSTEM "../appendixa/binutils-shortdesc.xml">
    1213<!ENTITY aa-binutils-desc SYSTEM "../appendixa/binutils-desc.xml">
    1314<!ENTITY aa-binutils-dep SYSTEM "../appendixa/binutils-dep.xml">
Note: See TracChangeset for help on using the changeset viewer.