aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08/file.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter08/file.xml')
-rw-r--r--chapter08/file.xml59
1 files changed, 59 insertions, 0 deletions
diff --git a/chapter08/file.xml b/chapter08/file.xml
index eb9f41a2b..1b1a1c0a8 100644
--- a/chapter08/file.xml
+++ b/chapter08/file.xml
@@ -59,6 +59,65 @@
</sect2>
+ <!-- - - - - - - - - - -->
+ <!-- Multilib - 32bit -->
+ <!-- - - - - - - - - - -->
+
+ <sect2 arch="ml_32,ml_all" role="installation">
+ <title>Installation of File - 32bit</title>
+
+ <para>Clean previous build:</para>
+
+<screen><userinput remap="pre">make distclean</userinput></screen>
+
+ <para>Prepare File for compilation:</para>
+
+<screen><userinput remap="configure">CC="gcc -m32" ./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib32 \
+ --host=i686-pc-linux-gnu</userinput></screen>
+
+ <para>Compile the package:</para>
+
+<screen><userinput remap="make">make</userinput></screen>
+
+ <para>Install the package:</para>
+
+<screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
+cp -Rv DESTDIR/usr/lib32/* /usr/lib32
+rm -rf DESTDIR</userinput></screen>
+
+ </sect2><!-- m32 -->
+
+ <!-- - - - - - - - - - -->
+ <!-- Multilib - x32bit -->
+ <!-- - - - - - - - - - -->
+
+ <sect2 arch="ml_x32,ml_all" role="installation">
+ <title>Installation of File - x32bit</title>
+
+ <para>Clean previous build:</para>
+
+<screen><userinput remap="pre">make distclean</userinput></screen>
+
+ <para>Prepare File for compilation:</para>
+
+<screen><userinput remap="configure">CC="gcc -mx32" ./configure \
+ --prefix=/usr \
+ --libdir=/usr/libx32 \
+ --host=x86_64-pc-linux-gnux32</userinput></screen>
+
+ <para>Compile the package:</para>
+
+<screen><userinput remap="make">make</userinput></screen>
+
+ <para>Install the package:</para>
+
+<screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
+cp -Rv DESTDIR/usr/libx32/* /usr/libx32
+rm -rf DESTDIR</userinput></screen>
+
+ </sect2><!-- mx32 -->
<sect2 id="contents-file" role="content">
<title>Contents of File</title>