- Timestamp:
- 07/08/2020 07:36:00 PM (4 years ago)
- Branches:
- multilib-10.1
- Children:
- 48a69fc
- Parents:
- ad25331
- Location:
- chapter07
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter07/libstdc++-pass2.xml
rad25331 r2505b8f 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> -
chapter07/python.xml
rad25331 r2505b8f 53 53 <para>Prepare Python for compilation:</para> 54 54 55 <screen><userinput remap="configure">./configure --prefix=/usr --without-ensurepip</userinput></screen> 55 <screen><userinput remap="configure">./configure --prefix=/usr \ 56 --enable-shared \ 57 --without-ensurepip</userinput></screen> 56 58 57 59 <variablelist> 58 60 <title>The meaning of the configure option:</title> 61 62 <varlistentry> 63 <term><parameter>--enable-shared</parameter></term> 64 <listitem> 65 <para>This switch prevents installation of static libraries.</para> 66 </listitem> 67 </varlistentry> 59 68 60 69 <varlistentry>
Note:
See TracChangeset
for help on using the changeset viewer.