Changeset 8eb3fe4 for chapter06/zlib.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
  • chapter06/zlib.xml

    r1fa2099 r8eb3fe4  
    6868  </sect2>
    6969
     70  <sect2 arch="multilib" role="installation">
     71    <title>Installation of Zlib - 32-bit</title>
     72
     73    <para>Clean previous build:</para>
     74
     75<screen><userinput remap="pre">make distclean</userinput></screen>
     76
     77    <para>Prepare Zlib for compilation:</para>
     78
     79<!-- configure doesn't know option - -host=i686-pc-linux-gnu -->
     80<screen><userinput remap="configure">CC="gcc -m32 -march=i686" \
     81./configure --prefix=/usr \
     82    --libdir=/usr/lib32</userinput></screen>
     83
     84    <para>Compile the package:</para>
     85
     86<screen><userinput remap="make">make</userinput></screen>
     87
     88    <para>Install the package:</para>
     89
     90<screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
     91cp -Rv DESTDIR/usr/lib32/* /usr/lib32
     92rm -rf DESTDIR</userinput></screen>
     93
     94  </sect2>
     95
     96  <sect2 arch="multilib" role="installation">
     97    <title>Installation of Zlib - x32-bit</title>
     98
     99<screen><userinput remap="pre">make distclean</userinput></screen>
     100
     101    <para>Prepare Zlib for compilation:</para>
     102
     103<screen><userinput remap="configure">CC="gcc -mx32" \
     104./configure --prefix=/usr    \
     105    --libdir=/usr/libx32</userinput></screen>
     106
     107    <para>Compile the package:</para>
     108
     109<screen><userinput remap="make">make</userinput></screen>
     110
     111    <para>Install the package:</para>
     112
     113<screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
     114cp -Rv DESTDIR/usr/libx32/* /usr/libx32
     115rm -rf DESTDIR</userinput></screen>
     116
     117  </sect2>
     118
    70119  <sect2 id="contents-zlib" role="content">
    71120    <title>Contents of Zlib</title>
Note: See TracChangeset for help on using the changeset viewer.