Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter05/libstdc++.xml

    r6099a471 r56f8a00  
    6161    <para>Prepare libstdc++ for compilation:</para>
    6262
    63 <screen><userinput remap="configure">../libstdc++-v3/configure           \
     63<screen arch="ml_32,ml_x32,ml_all"><userinput remap="configure">../libstdc++-v3/configure           \
     64    --host=$LFS_TGT                 \
     65    --build=$(../config.guess)      \
     66    --prefix=/usr                   \
     67    --enable-multilib               \
     68    --disable-nls                   \
     69    --disable-libstdcxx-pch         \
     70    --with-gxx-include-dir=/tools/$LFS_TGT/include/c++/&gcc-version;</userinput></screen>
     71<screen arch="default"><userinput remap="configure">../libstdc++-v3/configure           \
    6472    --host=$LFS_TGT                 \
    6573    --build=$(../config.guess)      \
     
    7987          should be used instead of the one in
    8088          <filename>/usr/bin</filename>.</para>
     89        </listitem>
     90      </varlistentry>
     91
     92      <varlistentry arch="ml_32,ml_x32,ml_all">
     93        <term><parameter>--enable-multilib</parameter></term>
     94        <listitem>
     95          <para>Enable building multilib objects.</para>
    8196        </listitem>
    8297      </varlistentry>
     
    122137<screen><userinput remap="install">make DESTDIR=$LFS install</userinput></screen>
    123138
    124     <para>Remove the libtool archive files because they are harmful for
    125     cross compilation:</para>
    126 
    127 <screen><userinput remap="install">rm -v $LFS/usr/lib/lib{stdc++,stdc++fs,supc++}.la</userinput></screen>
    128 
    129139  </sect2>
    130140
Note: See TracChangeset for help on using the changeset viewer.