Ignore:
Timestamp:
03/31/2021 10:41:39 AM (3 years ago)
Author:
Xℹ Ruoyao <xry111@…>
Branches:
ml-11.0, multilib
Children:
7610848
Parents:
811b5a39
git-author:
Thomas Trepl <thomas@…> (06/29/2020 07:55:01 AM)
git-committer:
Xℹ Ruoyao <xry111@…> (03/31/2021 10:41:39 AM)
Message:

Update to new lfs structure

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

File:
1 moved

Legend:

Unmodified
Added
Removed
  • chapter08/libffi.xml

    r811b5a39 r6dfcfecc  
    3333
    3434      <seglistitem>
    35         <seg>&libffi-ch6-sbu;</seg>
    36         <seg>&libffi-ch6-du;</seg>
     35        <seg>&libffi-fin-sbu;</seg>
     36        <seg>&libffi-fin-du;</seg>
    3737      </seglistitem>
    3838    </segmentedlist>
     
    5050      Illegal Operation Errors.</para>
    5151    </note>
    52 <!--
    53     <para>Modify the Makefile to install headers into the standard
    54     <filename class="directory">/usr/include</filename> directory instead of
    55     <filename class="directory">/usr/lib/libffi-&libffi-version;/include</filename>.</para>
    5652
    57 <screen><userinput remap="pre">sed -e '/^includesdir/ s/$(libdir).*$/$(includedir)/' \
    58     -i include/Makefile.in
    59 
    60 sed -e '/^includedir/ s/=.*$/=@includedir@/' \
    61     -e 's/^Cflags: -I${includedir}/Cflags:/' \
    62     -i libffi.pc.in</userinput></screen>
    63 -->
    6453    <para>Prepare libffi for compilation:</para>
    6554
     
    7261        <term><parameter>--with-gcc-arch=native</parameter></term>
    7362        <listitem>
    74           <para>Ensure gcc optimizes for the current system.  If this
     63          <para>Ensure GCC optimizes for the current system.  If this
    7564          is not specified, the system is guessed and the code generated
    7665          may not be correct for some systems.  If the generated code
     
    7968          about alternative system types, see <ulink
    8069          url='https://gcc.gnu.org/onlinedocs/gcc-&gcc-version;/gcc/x86-Options.html'>
    81           the x86 options in the gcc manual</ulink>.</para>
     70          the x86 options in the GCC manual</ulink>.</para>
    8271        </listitem>
    8372      </varlistentry>
     
    9382<screen><userinput remap="test">make check</userinput></screen>
    9483
    95     <para>Six tests, all related to test-callback.c, are known to fail.</para>
    96 
    9784    <para>Install the package:</para>
    9885
     
    10188  </sect2>
    10289
    103   <!-- ~~~~~~~~~~~~~~~~~~~~ ABI 32 ~~~~~~~~~~~~~~~~~~~~ -->
     90  <!-- - - - - - - - - - -->
     91  <!-- Multilib - 32bit  -->
     92  <!-- - - - - - - - - - -->
    10493 
    10594  <sect2 arch="ml_32,ml_all" role="installation">
    106     <title>Installation of Libffi - 32-bit</title>
     95    <title>Installation of Libffi - 32bit</title>
    10796
    10897    <para>Clean previous build:</para>
     
    112101    <para>Prepare Libffi for compilation:</para>
    113102
    114 <screen><userinput remap="configure">CC="gcc -m32" CXX="g++ -m32" \
    115 ./configure                  \
     103<screen><userinput remap="configure">CC="gcc -m32" CXX="g++ -m32" ./configure \
    116104    --prefix=/usr            \
    117105    --disable-static         \
    118     --libdir=/usr/lib32      \
     106    --libdir=&usr-lib-m32;     \
    119107    --with-gcc-arch=i686     \
    120108    --host=i686-pc-linux-gnu</userinput></screen>
     
    131119
    132120<screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
    133 cp -Rv DESTDIR/usr/lib32/* /usr/lib32
     121cp -Rv DESTDIR&usr-lib-m32;/* &usr-lib-m32;
    134122rm -rf DESTDIR</userinput></screen>
    135123
    136   </sect2>
     124  </sect2><!-- m32 -->
    137125
    138   <!-- ~~~~~~~~~~~~~~~~~~~~ ABI x32 ~~~~~~~~~~~~~~~~~~~~ -->
     126  <!-- - - - - - - - - - -->
     127  <!-- Multilib - x32bit -->
     128  <!-- - - - - - - - - - -->
    139129 
    140130  <sect2 arch="ml_x32,ml_all" role="installation">
    141     <title>Installation of Libffi - x32-bit</title>
     131    <title>Installation of Libtool - x32bit</title>
    142132
    143133    <para>Clean previous build:</para>
     
    147137    <para>Prepare Libffi for compilation:</para>
    148138
    149 <screen><userinput remap="configure">CC="gcc -mx32" CXX="g++ -mx32" \
    150 ./configure                    \
    151     --prefix=/usr              \
    152     --disable-static           \
    153     --with-gcc-arch=x86_64     \
    154     --libdir=/usr/libx32       \
     139<screen><userinput remap="configure">CC="gcc -mx32" CXX="g++ -mx32" ./configure \
     140    --prefix=/usr            \
     141    --disable-static         \
     142    --libdir=&usr-lib-mx32;     \
     143    --with-gcc-arch=x86_64   \
    155144    --host=x86_64-unknown-linux-gnux32</userinput></screen>
    156145
     
    166155
    167156<screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
    168 cp -Rv DESTDIR/usr/libx32/* /usr/libx32
     157cp -Rv DESTDIR&usr-lib-mx32;/* &usr-lib-mx32;
    169158rm -rf DESTDIR</userinput></screen>
    170159
    171   </sect2>
     160  </sect2><!-- mx32 -->
    172161
    173162  <sect2 id="contents-libffi" role="content">
Note: See TracChangeset for help on using the changeset viewer.