Changeset aa49729


Ignore:
Timestamp:
09/24/2003 02:59:09 PM (21 years ago)
Author:
Greg Schafer <greg@…>
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_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:
978d0bf
Parents:
e005067
Message:

First half of fixes for Bug 675 - missing command descriptions.

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

Files:
10 edited

Legend:

Unmodified
Added
Removed
  • chapter05/binutils-pass1-inst.xml

    re005067 raa49729  
    3030&nbsp;&nbsp;&nbsp;&nbsp;--prefix=/tools --disable-nls</userinput></screen></para>
    3131
    32 <para>The meaning of the configure switches:</para>
     32<para>The meaning of the configure options:</para>
    3333
    3434<itemizedlist>
     
    5050
    5151<itemizedlist>
    52 <listitem><para><userinput>LDFLAGS="-all-static"</userinput>: This tells
    53 the linker that all the Binutils programs should be linked
    54 statically.</para></listitem>
     52<listitem><para><userinput>LDFLAGS="-all-static"</userinput>: This tells the
     53linker that all the Binutils programs should be linked statically. However,
     54strictly speaking, <userinput>"-all-static"</userinput> is first passed on to
     55the <emphasis>libtool</emphasis> program which then passes
     56<userinput>"-static"</userinput> on to the linker.</para></listitem>
    5557</itemizedlist>
    5658
     
    6466make -C ld LIB_PATH=/tools/lib</userinput></screen></para>
    6567
     68<para>The meaning of the make options:</para>
     69
     70<itemizedlist>
     71<listitem><para><userinput>-C ld clean</userinput>: This tells the make program
     72to remove all the compiled files only in the <filename>ld</filename>
     73subdirectory.</para></listitem>
     74
     75<listitem><para><userinput>-C ld LIB_PATH=/tools/lib</userinput>: This option
     76rebuilds everything in the <filename>ld</filename> subdirectory. Specifying the
     77LIB_PATH makefile variable on the command line allows us to override the default
     78value and have it point to our temporary tools location. This preparation will
     79be utilised later on in the chapter.</para></listitem>
     80</itemizedlist>
     81
    6682<caution><para>Do not yet remove the Binutils build and source
    6783directories. You will need them again in their current state a bit further on
  • chapter05/gcc-pass1-inst.xml

    re005067 raa49729  
    3131&nbsp;&nbsp;&nbsp;&nbsp;--enable-languages=c</userinput></screen></para>
    3232
    33 <para>The meaning of the new configure options:</para>
     33<para>The meaning of the configure options:</para>
    3434
    3535<itemizedlist>
  • chapter05/gcc-pass2-inst.xml

    re005067 raa49729  
    2828section is considered not as important as the one we run in Chapter 6.</para></note>
    2929
    30 <para>Unpack all three GCC tarballs (-core, -g++, and -testsuite) in one and the same working directory.
    31 They will all unfold into a single <filename>gcc-&gcc-version;/</filename>
    32 subdir.</para>
     30<para>Unpack all three GCC tarballs (-core, -g++, and -testsuite) in one and the
     31same working directory. They will all unfold into a single
     32<filename>gcc-&gcc-version;/</filename> subdirectory.</para>
    3333
    3434<para>First correct one problem and make an essential adjustment:</para>
     
    7474&nbsp;&nbsp;&nbsp;&nbsp;--enable-threads=posix --enable-__cxa_atexit \
    7575&nbsp;&nbsp;&nbsp;&nbsp;--enable-languages=c,c++</userinput></screen></para>
     76
     77<para>The meaning of the new configure options:</para>
     78
     79<itemizedlist>
     80<listitem><para><userinput>--enable-threads=posix</userinput>: This enables
     81C++ exception handling for multi-threaded code.</para></listitem>
     82
     83<listitem><para><userinput>--enable-__cxa_atexit</userinput>: This option
     84allows use of __cxa_atexit, rather than atexit, to register C++ destructors for
     85local statics and global objects and is essential for fully standards-compliant
     86handling of destructors. It also affects the C++ ABI and therefore results in
     87C++ shared libraries and C++ programs that are interoperable with other Linux
     88distributions.</para></listitem>
     89
     90<listitem><para><userinput>--enable-clocale=gnu</userinput>: This option ensures
     91the correct locale model is selected for the C++ libraries under all
     92circumstances. If the configure script finds the <emphasis>de_DE</emphasis>
     93locale installed, it will select the correct model of <emphasis>gnu</emphasis>.
     94However, people who don't install the <emphasis>de_DE</emphasis> locale, run the
     95risk of building ABI incompatible C++ libraries due to the wrong locale model of
     96<emphasis>generic</emphasis> being selected.</para></listitem>
     97
     98<listitem><para><userinput>--enable-languages=c,c++</userinput>: This option is
     99needed to ensure that both C and C++ compilers are built.</para></listitem>
     100</itemizedlist>
    76101
    77102<para>Compile the package:</para>
  • chapter05/glibc-inst.xml

    re005067 raa49729  
    4949&nbsp;&nbsp;&nbsp;&nbsp;--without-gd</userinput></screen></para>
    5050
    51 <para>The meaning of the new configure options:</para>
     51<para>The meaning of the configure options:</para>
    5252
    5353<itemizedlist>
  • chapter05/grep-inst.xml

    re005067 raa49729  
    99&nbsp;&nbsp;&nbsp;&nbsp;--disable-perl-regexp --with-included-regex</userinput></screen></para>
    1010
    11 <para>The meaning of the configure switches:</para>
     11<para>The meaning of the configure options:</para>
    1212
    1313<itemizedlist>
  • chapter06/gcc-inst.xml

    re005067 raa49729  
    3939&nbsp;&nbsp;&nbsp;&nbsp;--enable-languages=c,c++</userinput></screen></para>
    4040
    41 <para>The meaning of the new configure options:</para>
    42 
    43 <itemizedlist>
    44 <listitem><para><userinput>--enable-threads=posix</userinput>: This enables
    45 C++ exception handling for multi-threaded code.</para></listitem>
    46 
    47 <listitem><para><userinput>--enable-__cxa_atexit</userinput>: This option
    48 will result in C++ shared libraries and C++ programs that are interoperable
    49 with other Linux distributions.</para></listitem>
    50 
    51 <listitem><para><userinput>--enable-clocale=gnu</userinput>: There is a risk
    52 that some people will build ABI incompatible C++ libraries if they didn't
    53 install all of the glibc localedata. Using --enable-clocale=gnu ensures that
    54 the "right thing" is done in all cases. If you don't wish to use this option,
    55 then at least build the <emphasis>de_DE</emphasis> locale. When GCC finds
    56 this specific locale, then the correct locale mode (<emphasis>gnu</emphasis>)
    57 is implemented.</para></listitem>
    58 </itemizedlist>
    59 
    6041<para>Compile the package:</para>
    6142
  • chapter06/glibc-inst.xml

    re005067 raa49729  
    3535&nbsp;&nbsp;&nbsp;&nbsp;--libexecdir=/usr/bin --with-headers=/usr/include</userinput></screen></para>
    3636
    37 <para>The meaning of the configure options:</para>
     37<para>The meaning of the new configure options:</para>
    3838
    3939<itemizedlist>
    40 <listitem><para><userinput>--disable-profile</userinput>: This disables the
    41 building of the libraries with profiling information. Omit this option if you
    42 plan to do profiling.</para></listitem>
    43 
    44 <listitem><para><userinput>--enable-add-ons</userinput>: This enables any
    45 add-ons that we installed with Glibc, in our case Linuxthreads.</para></listitem>
    46 
    4740<listitem><para><userinput>--libexecdir=/usr/bin</userinput>: This will
    4841cause the <filename>pt_chown</filename> program to be installed in the
     
    5346for this build. If you don't pass this switch then the headers from
    5447<filename>/tools/include</filename> are used which of course is not ideal
    55 (although they should be identical). Using the switch has the advantage
     48(although they should be identical). Using this switch has the advantage
    5649that you will be informed immediately should you have forgotten to install the
    5750kernel headers into <filename>/usr/include</filename>.</para></listitem>
  • chapter06/inetutils-inst.xml

    re005067 raa49729  
    2424because Util-linux installs a better version later.</para></listitem>
    2525
    26 <listitem><para><userinput>--sysconfdir=/etc</userinput>: This option
    27 tells the binaries created by the package to look in /etc for their
    28 configuration files</para></listitem>
    29 
    3026<listitem><para><userinput>--disable-whois</userinput>: This option disables
    3127the building of the inetutils whois client, which is woefully out of date.
  • chapter06/less-inst.xml

    re005067 raa49729  
    77
    88<para><screen><userinput>./configure --prefix=/usr --bindir=/bin --sysconfdir=/etc</userinput></screen></para>
     9
     10<para>The meaning of the configure option:</para>
     11
     12<itemizedlist>
     13<listitem><para><userinput>--sysconfdir=/etc</userinput>: This option tells the
     14programs created by the package to look in <filename>/etc</filename> for their
     15configuration files.</para></listitem>
     16</itemizedlist>
    917
    1018<para>Compile the package:</para>
  • chapter06/psmisc-inst.xml

    re005067 raa49729  
    88<para><screen><userinput>./configure --prefix=/usr --exec-prefix=/</userinput></screen></para>
    99
    10 <para>The meaning of the new configure option:</para>
     10<para>The meaning of the configure option:</para>
    1111
    1212<itemizedlist>
Note: See TracChangeset for help on using the changeset viewer.