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

    r1fa2099 r8eb3fe4  
    9595ln -sv bzip2 /bin/bunzip2
    9696ln -sv bzip2 /bin/bzcat</userinput></screen>
     97
     98  </sect2>
     99
     100  <sect2 arch="multilib" role="installation">
     101    <title>Installation of Bzip2 - 32-bit</title>
     102
     103    <para>Clean previous build:</para>
     104
     105<screen><userinput remap="pre">make clean</userinput></screen>
     106
     107    <para>Compile the package:</para>
     108
     109<screen><userinput remap="make">sed -e "s/^CC=.*/CC=gcc -m32/" \
     110    -i Makefile{,-libbz2_so}
     111make -f Makefile-libbz2_so
     112make libbz2.a</userinput></screen>
     113
     114    <para>Install the package:</para>
     115
     116<screen><userinput remap="install">install -Dm755 libbz2.so.1.0.6 /usr/lib32/libbz2.so.1.0.6
     117ln -sf libbz2.so.1.0.6 /usr/lib32/libbz2.so
     118ln -sf libbz2.so.1.0.6 /usr/lib32/libbz2.so.1
     119ln -sf libbz2.so.1.0.6 /usr/lib32/libbz2.so.1.0
     120install -Dm644 libbz2.a /usr/lib32/libbz2.a</userinput></screen>
     121
     122  </sect2>
     123
     124  <sect2 arch="multilib" role="installation">
     125    <title>Installation of Bzip2 - x32-bit</title>
     126
     127    <para>Clean previous build:</para>
     128
     129<screen><userinput remap="pre">make clean</userinput></screen>
     130
     131    <para>Compile the package:</para>
     132
     133<screen><userinput remap="make">sed -e "s/^CC=.*/CC=gcc -mx32/" \
     134    -i Makefile{,-libbz2_so}
     135make -f Makefile-libbz2_so
     136make libbz2.a</userinput></screen>
     137
     138    <para>Install the package:</para>
     139
     140<screen><userinput remap="install">install -Dm755 libbz2.so.1.0.6 /usr/libx32/libbz2.so.1.0.6
     141ln -sf libbz2.so.1.0.6 /usr/libx32/libbz2.so
     142ln -sf libbz2.so.1.0.6 /usr/libx32/libbz2.so.1
     143ln -sf libbz2.so.1.0.6 /usr/libx32/libbz2.so.1.0
     144install -Dm644 libbz2.a /usr/libx32/libbz2.a</userinput></screen>
    97145
    98146  </sect2>
Note: See TracChangeset for help on using the changeset viewer.