Ignore:
Timestamp:
07/08/2020 07:36:00 PM (4 years ago)
Author:
Thomas Trepl <thomas@…>
Branches:
multilib-10.1
Children:
48a69fc
Parents:
ad25331
Message:

Merge changes from trunk to multilib

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11997 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter07/libstdc++-pass2.xml

    rad25331 r2505b8f  
    6363    <para>Prepare libstdc++ for compilation:</para>
    6464
    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 \
    7072    --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>
    7880
    7981    <variablelist>
     
    8587          <para>These flags are passed by the top level Makefile when doing
    8688          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>
    8798        </listitem>
    8899      </varlistentry>
     
    103114          will be built for every arch (m64, m32, mx32) which are
    104115          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. This
    112           switch is set to ensure that the headers used for multilib are
    113           placed in correct locations where the final system can pick
    114           them up.</para>
    115116        </listitem>
    116117      </varlistentry>
Note: See TracChangeset for help on using the changeset viewer.