Changeset 9d5d854f for chapter06


Ignore:
Timestamp:
05/06/2016 09:16:07 PM (8 years ago)
Author:
Douglas R. Reno <renodr@…>
Children:
81d7190a
Parents:
ed17c23
Message:

Synced to trunk r11052

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/systemd@11053 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Location:
chapter06
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • chapter06/binutils.xml

    red17c23 r9d5d854f  
    5858Ask your system administrator to create more.</computeroutput></screen>
    5959
    60     <para>Fix a problem identified upstream:</para>
     60    <para>Fix some problems identified upstream:</para>
    6161
    6262<screen><userinput remap="pre">patch -Np1 -i ../&binutils-upstream-patch;</userinput></screen>
     
    107107    <para>Test the results:</para>
    108108
    109 <screen><userinput remap="test">make check</userinput></screen>
     109<screen><userinput remap="test">make -k check</userinput></screen>
    110110
    111111    <para> The test 'Link with zlib-gabi compressed debug output' is known to fail.</para>
  • chapter06/gcc.xml

    red17c23 r9d5d854f  
    4242    <title>Installation of GCC</title>
    4343
    44 <!--    <para>First apply some fixes from the upstream repository:</para>
    45 
    46 <screen><userinput remap="pre">patch -Np1 -i ../&gcc-upstream-patch;</userinput></screen> -->
    47 
    4844    <para>The GCC documentation recommends building GCC in a dedicated build directory:</para>
    4945
     
    124120<screen><userinput remap="install">make install</userinput></screen>
    125121
    126     <para>Some packages expect the C preprocessor to be installed in the
    127     <filename class="directory">/lib</filename> directory.
    128     To support those packages, create this symlink:</para>
     122    <para>Create a symlink required by the <ulink
     123    url="http://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch03s09.html">FHS</ulink>
     124    for "historical" reasons.</para>
    129125
    130126<screen><userinput remap="install">ln -sv ../usr/bin/cpp /lib</userinput></screen>
  • chapter06/glibc.xml

    red17c23 r9d5d854f  
    6969 
    7070<screen><userinput remap="pre">patch -Np1 -i ../&glibc-fhs-patch;</userinput></screen>
     71
     72    <para>Fix some problems identified upstream:</para>
     73
     74<screen><userinput remap="pre">patch -Np1 -i ../&glibc-upstream-patch;</userinput></screen>
     75
    7176    <para>The Glibc build system is self-contained and will install
    7277    perfectly, even though the compiler specs file and linker are still
  • chapter06/gzip.xml

    red17c23 r9d5d854f  
    4444    <para>Prepare Gzip for compilation:</para>
    4545
    46 <screen><userinput remap="configure">./configure --prefix=/usr --bindir=/bin</userinput></screen>
     46<screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
    4747
    4848    <para>Compile the package:</para>
  • chapter06/pkgconfig.xml

    red17c23 r9d5d854f  
    4747<screen><userinput remap="configure">./configure --prefix=/usr        \
    4848            --with-internal-glib \
     49            --disable-compile-warnings \
    4950            --disable-host-tool  \
    5051            --docdir=/usr/share/doc/pkg-config-&pkgconfig-version;</userinput></screen>
     
    5859          <para>This will allow pkg-config to use its internal version of
    5960          Glib because an external version is not available in LFS.</para>
     61        </listitem>
     62      </varlistentry>
     63
     64      <varlistentry>
     65        <term><parameter>--disable-compile-warnings</parameter></term>
     66        <listitem>
     67          <para>This option prevents the build system from using
     68          compiler flags which cause build failure when building
     69          with GCC 6.</para>
    6070        </listitem>
    6171      </varlistentry>
  • chapter06/texinfo.xml

    red17c23 r9d5d854f  
    4545
    4646<screen><userinput remap="configure">./configure --prefix=/usr --disable-static</userinput></screen>
     47
     48    <variablelist>
     49      <title>The meaning of the configure options:</title>
     50     
     51      <varlistentry>
     52        <term><parameter>--disable-static</parameter></term>
     53        <listitem>
     54          <para>In this case, the top-level configure script will complain that
     55          this is an unrecognized option, but the configure script for
     56          XSParagraph recognizes it and uses it to disable installing a static
     57          <filename class="libraryfile">XSParagraph.a</filename> to <filename
     58          class="directory">/usr/lib/texinfo</filename>.</para>
     59        </listitem>
     60      </varlistentry>
     61
     62    </variablelist>
    4763
    4864    <para>Compile the package:</para>
Note: See TracChangeset for help on using the changeset viewer.