Changeset 174d1bf
- Timestamp:
- 02/15/2022 07:29:35 AM (2 years ago)
- Branches:
- 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, 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:
- 2cf3c176
- Parents:
- 81d3242
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/libstdc++.xml
r81d3242 r174d1bf 93 93 <term><parameter>--with-gxx-include-dir=/tools/$LFS_TGT/include/c++/&gcc-version;</parameter></term> 94 94 <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 97 100 is automatically passed to the libstdc++ <command>configure</command> 98 101 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>. The combination of the <parameter>DESTDIR</parameter> 108 variable (in the <command>make install</command> command below) 109 and this switch ensures to install the headers there.</para> 100 110 </listitem> 101 111 </varlistentry>
Note:
See TracChangeset
for help on using the changeset viewer.