Changeset aa17d84


Ignore:
Timestamp:
04/06/2024 09:15:31 AM (3 weeks ago)
Author:
Thomas Trepl <thomas@…>
Branches:
multilib
Parents:
1291a88
Message:

Add ML instructions to GDBM. Thanks to 'Zeckma'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/gdbm.xml

    r1291a88 raa17d84  
    8686  </sect2>
    8787
     88  <!-- - - - - - - - - - -->
     89  <!-- Multilib - 32bit  -->
     90  <!-- - - - - - - - - - -->
     91
     92  <sect2 arch="ml_32,ml_all" role="installation">
     93    <title>Installation of GDBM - 32bit</title>
     94
     95    <para>Clean previous build:</para>
     96
     97<screen><userinput remap="pre">make distclean</userinput></screen>
     98
     99    <para>Prepare GDBM for compilation:</para>
     100
     101<screen><userinput remap="configure">CC="gcc -m32" CXX="g++ -m32" ./configure \
     102    --host=i686-pc-linux-gnu      \
     103    --prefix=/usr                 \
     104    --libdir=/usr/lib32           \
     105    --disable-static              \
     106    --enable-libgdbm-compat</userinput></screen>
     107
     108    <para>Compile the package:</para>
     109
     110<screen><userinput remap="make">make</userinput></screen>
     111
     112    <para>Install the package:</para>
     113
     114<screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
     115cp -Rv DESTDIR/usr/lib32/* /usr/lib32/
     116rm -rf DESTDIR</userinput></screen>
     117
     118  </sect2><!-- m32 -->
     119
     120  <!-- - - - - - - - - - -->
     121  <!-- Multilib - x32bit -->
     122  <!-- - - - - - - - - - -->
     123
     124  <sect2 arch="ml_x32,ml_all" role="installation">
     125    <title>Installation of GDBM - x32bit</title>
     126
     127    <para>Clean previous build:</para>
     128
     129<screen><userinput remap="pre">make distclean</userinput></screen>
     130
     131    <para>Prepare GDBM for compilation:</para>
     132
     133<screen><userinput remap="configure">CC="gcc -mx32" CXX="g++ -mx32" ./configure \
     134    --host=x86_64-pc-linux-gnux32 \
     135    --prefix=/usr                 \
     136    --libdir=/usr/libx32          \
     137    --disable-static              \
     138    --enable-libgdbm-compat</userinput></screen>
     139
     140    <para>Compile the package:</para>
     141
     142<screen><userinput remap="make">make</userinput></screen>
     143
     144    <para>Install the package:</para>
     145
     146<screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
     147cp -Rv DESTDIR/usr/libx32/* /usr/libx32/
     148rm -rf DESTDIR</userinput></screen>
     149
     150  </sect2><!-- mx32 -->
     151 
    88152  <sect2 id="contents-gdbm" role="content">
    89153    <title>Contents of GDBM</title>
Note: See TracChangeset for help on using the changeset viewer.