Changeset 51b58ad for chapter07/libstdc++-pass2.xml
- Timestamp:
- 03/31/2021 10:41:39 AM (3 years ago)
- Branches:
- ml-11.0, multilib
- Children:
- c63253fb
- Parents:
- ce2f9d8
- git-author:
- Thomas Trepl <thomas@…> (07/08/2020 07:36:00 PM)
- git-committer:
- Xℹ Ruoyao <xry111@…> (03/31/2021 10:41:39 AM)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter07/libstdc++-pass2.xml
rce2f9d8 r51b58ad 63 63 <para>Prepare libstdc++ for compilation:</para> 64 64 65 <screen arch="default"><userinput remap="configure">../libstdc++-v3/configure \ 66 CXXFLAGS="-g -O2 -D_GNU_SOURCE" \ 67 --prefix=/usr \ 68 --disable-multilib \ 69 --disable-nls \ 65 <screen arch="default"><userinput remap="configure"> 66 ../libstdc++-v3/configure \ 67 CXXFLAGS="-g -O2 -D_GNU_SOURCE" \ 68 --prefix=/usr \ 69 --disable-multilib \ 70 --disable-nls \ 71 --host=$(uname -m)-lfs-linux-gnu \ 70 72 --disable-libstdcxx-pch</userinput></screen> 71 <screen arch="ml_32,ml_x32,ml_all"><userinput remap="configure">../libstdc++-v3/configure \72 CXXFLAGS="-g -O2 -D_GNU_SOURCE" \73 --prefix=/usr \74 --enable-multilib \75 --disable-nls \76 -- disable-libstdcxx-pch\77 -- host=x86_64-lfs-linux-gnu</userinput></screen>73 <screen arch="ml_32,ml_x32,ml_all"><userinput remap="configure">../libstdc++-v3/configure \ 74 CXXFLAGS="-g -O2 -D_GNU_SOURCE" \ 75 --prefix=/usr \ 76 --enable-multilib \ 77 --disable-nls \ 78 --host=$(uname -m)-lfs-linux-gnu \ 79 --disable-libstdcxx-pch</userinput></screen> 78 80 79 81 <variablelist> … … 85 87 <para>These flags are passed by the top level Makefile when doing 86 88 a full build of GCC.</para> 89 </listitem> 90 </varlistentry> 91 92 <varlistentry> 93 <term><parameter>--host=$(uname -m)-lfs-linux-gnu</parameter></term> 94 <listitem> 95 <para>We have to mimic what would happen if this package were built 96 as part of a full compiler build. This switch would be passed to 97 configure by GCC's build machinery.</para> 87 98 </listitem> 88 99 </varlistentry> … … 103 114 will be built for every arch (m64, m32, mx32) which are 104 115 made available in <xref linkend="ch-tools-gcc-pass1"/>.</para> 105 </listitem>106 </varlistentry>107 108 <varlistentry arch="ml_32,ml_x32,ml_all">109 <term><parameter>--host=x86_64-pc-linux-gnu</parameter></term>110 <listitem>111 <para>Since up to now the cross-compile tools are used. This112 switch is set to ensure that the headers used for multilib are113 placed in correct locations where the final system can pick114 them up.</para>115 116 </listitem> 116 117 </varlistentry>
Note:
See TracChangeset
for help on using the changeset viewer.