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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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>
Note: See TracChangeset for help on using the changeset viewer.