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/expat.xml

    r1fa2099 r8eb3fe4  
    7070  </sect2>
    7171
     72  <sect2 arch="multilib" role="installation">
     73    <title>Installation of Expat - 32-bit</title>
     74
     75    <para>Clean previous build but keep precompiled doc because it
     76    cannot be rebuilt in this stage of the system:</para>
     77
     78<screen><userinput remap="pre">sed -e "/^am__append_1/ s/doc//" -i Makefile
     79make clean</userinput></screen>
     80
     81    <para>Prepare Expat for compilation:</para>
     82
     83<screen><userinput remap="configure">CC="gcc -m32" ./configure \
     84    --prefix=/usr         \
     85    --libdir=/usr/lib32   \
     86    --host=i686-pc-linux-gnu</userinput></screen>
     87
     88    <para>Compile the package:</para>
     89
     90<screen><userinput remap="make">make</userinput></screen>
     91
     92    <para>Install the package:</para>
     93
     94<screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
     95cp -Rv DESTDIR/usr/lib32/* /usr/lib32
     96rm -rf DESTDIR</userinput></screen>
     97
     98  </sect2>
     99
     100  <sect2 arch="multilib" role="installation">
     101    <title>Installation of Zlib - x32-bit</title>
     102
     103    <para>Clean previous build:</para>
     104
     105<screen><userinput remap="pre">sed -e "/^am__append_1/ s/doc//" -i Makefile
     106make clean</userinput></screen>
     107
     108    <para>Prepare Expat for compilation:</para>
     109
     110<screen><userinput remap="configure">
     111CC="gcc -mx32" ./configure \
     112    --prefix=/usr          \
     113    --libdir=/usr/libx32   \
     114    --host=x86_64-pc-linux-gnux32</userinput></screen>
     115
     116    <para>Compile the package:</para>
     117
     118<screen><userinput remap="make">make</userinput></screen>
     119
     120    <para>Install the package:</para>
     121
     122<screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
     123cp -Rv DESTDIR/usr/libx32/* /usr/libx32
     124rm -rf DESTDIR</userinput></screen>
     125
     126  </sect2>
     127
    72128  <sect2 id="contents-expat" role="content">
    73129    <title>Contents of Expat</title>
Note: See TracChangeset for help on using the changeset viewer.