Changeset 25771c3


Ignore:
Timestamp:
07/04/2020 09:14:57 PM (4 years ago)
Author:
Pierre Labastie <pieere@…>
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, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, 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:
b6c0d12
Parents:
5a986cbf
Message:

Various clean up:

  • prevent static python libraries to be installed in chapter 7 since it is not overwrittent in chapter 8
  • have libstdc++-pass2 install its host specific headers into a host specific directory
  • clean the temporary compiler and the cros compiler at the end of chapter 8

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

Files:
5 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    r5a986cbf r25771c3  
    4444    -->
    4545    <listitem>
     46      <para>2020-07-04</para>
     47      <itemizedlist>
     48        <listitem>
     49          <para>[pierre] - Remove /tools and files containing
     50          {i686,x86_64}-lfs in their name at the end of chapter 8.</para>
     51        </listitem>
     52        <listitem>
     53          <para>[pierre] - Add --host= to libstdc++-pass2, so that host
     54          specific headers are installed in a host specific directory.</para>
     55        </listitem>
     56        <listitem>
     57          <para>[pierre] - Fix temporary Python so that static libraries
     58          are not installed.</para>
     59        </listitem>
     60      </itemizedlist>
     61    </listitem>
     62
     63    <listitem>
    4664      <itemizedlist>
    4765      <para>2020-07-01</para>
  • chapter07/libstdc++-pass2.xml

    r5a986cbf r25771c3  
    6363    <para>Prepare libstdc++ for compilation:</para>
    6464
    65 <screen><userinput remap="configure">../libstdc++-v3/configure           \
    66     CXXFLAGS="-g -O2 -D_GNU_SOURCE" \
    67     --prefix=/usr                   \
    68     --disable-multilib              \
    69     --disable-nls                   \
     65<screen><userinput remap="configure">../libstdc++-v3/configure            \
     66    CXXFLAGS="-g -O2 -D_GNU_SOURCE"  \
     67    --prefix=/usr                    \
     68    --disable-multilib               \
     69    --disable-nls                    \
     70    --host=$(uname -m)-lfs-linux-gnu \
    7071    --disable-libstdcxx-pch</userinput></screen>
    7172
     
    7879          <para>These flags are passed by the top level Makefile when doing
    7980          a full build of GCC.</para>
     81        </listitem>
     82      </varlistentry>
     83
     84      <varlistentry>
     85        <term><parameter>--host=$(uname -m)-lfs-linux-gnu</parameter></term>
     86        <listitem>
     87          <para>We have to mimic what would happen if this package were built
     88          as part of a full compiler build. This switch would be passed to
     89          configure by GCC's build machinery.</para>
    8090        </listitem>
    8191      </varlistentry>
  • chapter07/python.xml

    r5a986cbf r25771c3  
    5353    <para>Prepare Python for compilation:</para>
    5454
    55 <screen><userinput remap="configure">./configure --prefix=/usr --without-ensurepip</userinput></screen>
     55<screen><userinput remap="configure">./configure --prefix=/usr   \
     56            --enable-shared \
     57            --without-ensurepip</userinput></screen>
    5658
    5759    <variablelist>
    5860      <title>The meaning of the configure option:</title>
     61
     62      <varlistentry>
     63        <term><parameter>--enable-shared</parameter></term>
     64        <listitem>
     65          <para>This switch prevents installation of static libraries.</para>
     66        </listitem>
     67      </varlistentry>
    5968
    6069      <varlistentry>
  • chapter08/revisedchroot.xml

    r5a986cbf r25771c3  
    6363   Archive (.la) files"</ulink>.</para>
    6464
     65   <para>The compiler built in <xref linkend="chapter-temporary-tools"/> and
     66   <xref linkend="chapter-chroot-temporary-tools"/> is still partially
     67   installed, and not needed anymore. Remove it with:</para>
     68
     69<screen><userinput>find /usr/{bin,lib,libexec,include} \
     70     -depth                         \
     71     -name $(uname -m)-lfs-linux-gnu\* | xargs rm -rf</userinput></screen>
     72
     73   <para>The <filename class="directory">/tools</filename> directory can also
     74   be removed to further gain some place:</para>
     75
     76<screen><userinput>rm -rf /tools</userinput></screen>
     77
    6578   <para>Finally, remove the temporary 'tester' user account created at the
    6679   beginning of the previous chapter.</para>
  • general.ent

    r5a986cbf r25771c3  
    1 <!ENTITY version         "SVN-20200701">
     1<!ENTITY version         "SVN-20200704">
    22<!ENTITY short-version   "svn">  <!-- Used below in &blfs-book;
    33                                      Change to x.y for release but not -rc releases -->
    44<!ENTITY generic-version "development"> <!-- Use "development"  or "x.y[-pre{x}]" -->
    55
    6 <!ENTITY versiond        "20200701-systemd">
     6<!ENTITY versiond        "20200704-systemd">
    77<!ENTITY short-versiond  "systemd">
    88<!ENTITY generic-versiond "systemd">
    99
    10 <!ENTITY releasedate     "July 1st, 2020">
     10<!ENTITY releasedate     "July 4th, 2020">
    1111
    1212<!ENTITY copyrightdate   "1999-2020"><!-- jhalfs needs a literal dash, not &ndash; -->
Note: See TracChangeset for help on using the changeset viewer.