Changeset 8eb3fe4 for chapter05/xz.xml


Ignore:
Timestamp:
04/01/2019 05:00:45 PM (5 years ago)
Author:
Thomas Trepl <thomas@…>
Branches:
multilib-10.1
Children:
7d9f881
Parents:
1fa2099
Message:

First apply of multilib-patch of April 1st, 2019

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter05/xz.xml

    r1fa2099 r8eb3fe4  
    6464  </sect2>
    6565
     66  <sect2 arch="multilib" role="installation">
     67    <title>Installation of Xz - 32 bit</title>
     68
     69    <para>Prepare Xz for compilation:</para>
     70
     71<screen><userinput remap="configure">make distclean &amp;&amp;
     72CC="${LFS_TGT}-gcc -m32"  \
     73./configure               \
     74    --prefix=/tools       \
     75    --libdir=/tools/lib32 \
     76    --host="${LFS_TGT32}"</userinput></screen>
     77
     78    <para>Compile the package:</para>
     79
     80<screen><userinput remap="make">make</userinput></screen>
     81
     82    <para>To test the results, issue:</para>
     83
     84<screen><userinput remap="test">make check</userinput></screen>
     85
     86    <para>Install the package:</para>
     87
     88<screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR_32 install &amp;&amp;
     89cp -Rv DESTDIR_32/tools/lib32/* /tools/lib32</userinput></screen>
     90
     91  </sect2>
     92
     93  <sect2 arch="multilib" role="installation">
     94    <title>Installation of Xz - x32 bit</title>
     95
     96    <para>Repeat for the x32-ABI:</para>
     97
     98<screen><userinput remap="configure">make distclean &amp;&amp;
     99CC="${LFS_TGT}-gcc -mx32"   \
     100./configure                 \
     101     --prefix=/tools        \
     102     --libdir=/tools/libx32 \
     103     --host="${LFS_TGTX32}"</userinput></screen>
     104
     105<screen><userinput remap="make">make</userinput></screen>
     106
     107<screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR_x32 install &amp;&amp;
     108cp -Rv DESTDIR_x32/tools/libx32/* /tools/libx32</userinput></screen>
     109
     110  </sect2>
     111
    66112  <sect2 role="content">
    67113    <title/>
Note: See TracChangeset for help on using the changeset viewer.