Changeset 2ff3ada


Ignore:
Timestamp:
02/15/2022 03:56:39 PM (8 months ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
11.1, 11.1-rc1, 11.2, 11.2-rc1, arm, multilib, s6-init, trunk, xry111/arm64, xry111/clfs-ng, xry111/lfs-next, xry111/queue-11.3
Children:
9a612a9
Parents:
6af4dab (diff), 2cf3c17 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter05/libstdc++.xml

    r6af4dab r2ff3ada  
    9393        <term><parameter>--with-gxx-include-dir=/tools/$LFS_TGT/include/c++/&gcc-version;</parameter></term>
    9494        <listitem>
    95           <para>This is the location where the C++ compiler should search for the
    96           standard include files. In a normal build, this information
     95          <para>This specifies the installation directory for include files.
     96          Because libstdc++ is the standard C++ library for LFS, this
     97          directory should match the location where the C++ compiler
     98          (<command>$LFS_TGT-g++</command>) would search for the
     99          standard C++ include files. In a normal build, this information
    97100          is automatically passed to the libstdc++ <command>configure</command>
    98101          options from the top level directory. In our case, this information
    99           must be explicitly given.</para>
     102          must be explicitly given.
     103          The C++ compiler will prepend the sysroot path
     104          <filename class="directory">$LFS</filename> (specified building
     105          GCC pass 1) to the include file search path, so it will actually
     106          search in
     107          <filename class="directory">$LFS/tools/$LFS_TGT/include/c++/&gcc-version;</filename>.
     108          The combination of the <parameter>DESTDIR</parameter>
     109          variable (in the <command>make install</command> command below)
     110          and this switch ensures to install the headers there.</para>
    100111        </listitem>
    101112      </varlistentry>
Note: See TracChangeset for help on using the changeset viewer.