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
  • chapter06/readline.xml

    r1fa2099 r8eb3fe4  
    9393  </sect2>
    9494
     95  <sect2 arch="multilib" role="installation">
     96    <title>Installation of Readline - 32-bit</title>
     97
     98    <para>Clean previous build:</para>
     99
     100<screen><userinput remap="pre">make distclean</userinput></screen>
     101
     102    <para>Prepare Readline for compilation:</para>
     103
     104<screen><userinput remap="configure">CC="gcc -m32 -march=i686" ./configure \
     105    --prefix=/usr                     \
     106    --libdir=/usr/lib32               \
     107    --disable-static                  \
     108    --host=i686-pc-linux-gnu</userinput></screen>
     109
     110    <para>Compile the package:</para>
     111
     112<screen><userinput remap="make">make</userinput></screen>
     113
     114    <para>Install the package:</para>
     115
     116<screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
     117cp -Rv DESTDIR/usr/lib32/* /usr/lib32
     118rm -rf DESTDIR</userinput></screen>
     119
     120  </sect2>
     121
     122  <sect2 arch="multilib" role="installation">
     123    <title>Installation of Readline - x32-bit</title>
     124
     125    <para>Clean previous build:</para>
     126
     127<screen><userinput remap="pre">make distclean</userinput></screen>
     128
     129    <para>Prepare Readline for compilation:</para>
     130
     131<screen><userinput remap="configure">CC="gcc -mx32" ./configure \
     132    --prefix=/usr          \
     133    --libdir=/usr/libx32   \
     134    --disable-static       \
     135    --host=x86_64-pc-linux-gnux32</userinput></screen>
     136
     137    <para>Compile the package:</para>
     138
     139<screen><userinput remap="make">make</userinput></screen>
     140
     141    <para>Install the package:</para>
     142
     143<screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
     144cp -Rv DESTDIR/usr/libx32/* /usr/libx32
     145rm -rf DESTDIR</userinput></screen>
     146
     147  </sect2>
     148
    95149  <sect2 id="contents-readline" role="content">
    96150    <title>Contents of Readline</title>
Note: See TracChangeset for help on using the changeset viewer.