Changeset aefc822 for chapter07/libstdc++-pass2.xml
- Timestamp:
- 06/11/2020 05:55:06 AM (4 years ago)
- 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:
- 302d97a
- Parents:
- 387a32af
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter07/libstdc++-pass2.xml
r387a32af raefc822 25 25 <title/> 26 26 27 <para>Again, when building <xref linkend="ch-tools-gcc-pass2"/>, we had to 28 defer the installation of the C++ standard library, because no suitable 29 compiler was available to compile it: we could not use the compiler 30 installed, because this compiler is a native 31 compiler, and should not be used outside of chroot without being at 32 risk of polluting the build with some host components.</para> 27 <para>When building <xref linkend="ch-tools-gcc-pass2"/> we had to defer 28 the installation of the C++ standard library because no suitable compiler 29 was available to compile it. We could not use the compiler built in that 30 section because it is a native compiler and should not be used outside of 31 chroot and risk polluting the libraries with some host components.</para> 33 32 34 33 <segmentedlist> … … 36 35 <segtitle>&diskspace;</segtitle> 37 36 38 <!-- TODO -->39 37 <seglistitem> 40 38 <seg>&libstdcpp-ch5-sbu;</seg> … … 54 52 </note> 55 53 56 <para>Create a link which exists when building Libstdc++ in the gcc 57 tree:</para> 54 <para>Create a link which exists when building libstdc++ in the gcc tree:</para> 58 55 59 56 <screen><userinput remap="pre">ln -s gthr-posix.h libgcc/gthr-default.h</userinput></screen> 60 57 61 <para>Create a separate build directory for Libstdc++ and enter it:</para>58 <para>Create a separate build directory for libstdc++ and enter it:</para> 62 59 63 60 <screen><userinput remap="pre">mkdir -v build 64 61 cd build</userinput></screen> 65 62 66 <para>Prepare Libstdc++ for compilation:</para>63 <para>Prepare libstdc++ for compilation:</para> 67 64 68 65 <screen><userinput remap="configure">../libstdc++-v3/configure \ … … 79 76 <term><parameter>CXXFLAGS="-g -O2 -D_GNU_SOURCE"</parameter></term> 80 77 <listitem> 81 <para>Th ose flags are passed by the top level Makefile when doing82 78 <para>These flags are passed by the top level Makefile when doing 79 a full build of GCC.</para> 83 80 </listitem> 84 81 </varlistentry> … … 107 104 <title/> 108 105 109 <para>Details on this package are located in 110 <xref linkend="contents-gcc" role="."/></para> 106 <para>Details on this package are located in <xref linkend="contents-gcc" role="."/></para> 111 107 112 108 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.