Changeset 738a4c1 for chapter05/libstdc++.xml
- Timestamp:
- 02/16/2022 04:45:10 AM (2 years ago)
- Branches:
- multilib
- Children:
- bb19832
- Parents:
- 7158d79 (diff), 83e41da (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/libstdc++.xml
r7158d79 r738a4c1 103 103 <term><parameter>--with-gxx-include-dir=/tools/$LFS_TGT/include/c++/&gcc-version;</parameter></term> 104 104 <listitem> 105 <para>This is the location where the C++ compiler should search for the 106 standard include files. In a normal build, this information 105 <para>This specifies the installation directory for include files. 106 Because libstdc++ is the standard C++ library for LFS, this 107 directory should match the location where the C++ compiler 108 (<command>$LFS_TGT-g++</command>) would search for the 109 standard C++ include files. In a normal build, this information 107 110 is automatically passed to the libstdc++ <command>configure</command> 108 111 options from the top level directory. In our case, this information 109 must be explicitly given.</para> 112 must be explicitly given. 113 The C++ compiler will prepend the sysroot path 114 <filename class="directory">$LFS</filename> (specified building 115 GCC pass 1) to the include file search path, so it will actually 116 search in 117 <filename class="directory">$LFS/tools/$LFS_TGT/include/c++/&gcc-version;</filename>. 118 The combination of the <parameter>DESTDIR</parameter> 119 variable (in the <command>make install</command> command below) 120 and this switch ensures to install the headers there.</para> 110 121 </listitem> 111 122 </varlistentry>
Note:
See TracChangeset
for help on using the changeset viewer.